WordPress.org

Make WordPress Core

Changeset 6488


Ignore:
Timestamp:
12/24/07 15:14:07 (6 years ago)
Author:
westi
Message:

Avoid the 64bit dragons. Fixes #3780 props nbachiyski.

File:
1 edited

Legend:

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

    r5266 r6488  
    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)) { 
Note: See TracChangeset for help on using the changeset viewer.