Changeset 1171

Show
Ignore:
Timestamp:
12/26/07 18:57:15 (6 months ago)
Author:
ryan
Message:

64bit fix for gettext. see WP #3780

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/gettext.php

    r972 r1171  
    115115                $this->STREAM = $Reader; 
    116116                $magic = $this->readint(); 
    117                 if ($magic == ($MAGIC1 & 0xFFFFFFFF) || $magic == ($MAGIC3 & 0xFFFFFFFF)) { // to make sure it works for 64-bit platforms 
     117                if ($magic == $MAGIC1 || $magic == $MAGIC3) { // to make sure it works for 64-bit platforms 
    118118                        $this->BYTEORDER = 0; 
    119119                } elseif ($magic == ($MAGIC2 & 0xFFFFFFFF)) {