X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/3e7fab96d7874067884348df10bbdcdefa4a89ad..refs/tags/wordpress-2.8-scripts:/wp-includes/gettext.php diff --git a/wp-includes/gettext.php b/wp-includes/gettext.php index 72558ccf..48e98b31 100644 --- a/wp-includes/gettext.php +++ b/wp-includes/gettext.php @@ -1,5 +1,11 @@ . Copyright (c) 2005 Nico Kaiser @@ -114,7 +120,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; @@ -391,4 +397,4 @@ class gettext_reader { } -?> +?> \ No newline at end of file