summaryrefslogtreecommitdiffstats
path: root/wp-includes/gettext.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/gettext.php')
-rw-r--r--wp-includes/gettext.php2
1 files changed, 1 insertions, 1 deletions
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;