X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/7688c6ba71852cd89123b62b2d57683535e4702a..a66f9e26487c560245ef9cd17d7e87c0cbb650af:/wp-includes/gettext.php diff --git a/wp-includes/gettext.php b/wp-includes/gettext.php index 72558ccf..5b78127c 100644 --- a/wp-includes/gettext.php +++ b/wp-includes/gettext.php @@ -114,7 +114,7 @@ class gettext_reader { $this->STREAM = $Reader; $magic = $this->readint(); - if ($magic == ($MAGIC1 & 0xFFFFFFFF) || $magic == ($MAGIC3 & 0xFFFFFFFF)) { // to make sure it works for 64-bit platforms + if ($magic == $MAGIC1 || $magic == $MAGIC3) { // to make sure it works for 64-bit platforms $this->BYTEORDER = 0; } elseif ($magic == ($MAGIC2 & 0xFFFFFFFF)) { $this->BYTEORDER = 1;