Avoid the 64bit dragons. Fixes #3780 for 2.3 props nbachiyski.
git-svn-id: http://svn.automattic.com/wordpress/branches/2.3@6708 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
94552fc2fe
commit
14bb4dd834
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue