From c65d51fec1d641efd1ec8a44c046cd54d588fe3b Mon Sep 17 00:00:00 2001 From: ryan Date: Wed, 26 Dec 2007 18:57:15 +0000 Subject: 64bit fix for gettext. see WP #3780 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1171 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/gettext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wp-includes/gettext.php') diff --git a/wp-includes/gettext.php b/wp-includes/gettext.php index 72558cc..5b78127 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; -- cgit