Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7844


Ignore:
Timestamp:
Feb 10, 2011, 4:11:09 PM (13 years ago)
Author:
landauf
Message:

fixed warning. hope this works on all supported systems, because (u)intptr_t is actually C99 standard, not C++

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/libraries/network/packet/Gamestate.cc

    r7801 r7844  
    204204    }
    205205  }
    206   assert(mem-data_ == GamestateHeader::getSize()+header_.getDataSize());
     206  assert((uintptr_t)(mem-data_) == GamestateHeader::getSize()+header_.getDataSize());
    207207 
    208208   // In debug mode, check first, whether there are no duplicate objectIDs
Note: See TracChangeset for help on using the changeset viewer.