Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 245


Ignore:
Timestamp:
Nov 25, 2007, 5:22:22 PM (17 years ago)
Author:
scheusso
Message:

some minor change/bugfix in Synchronisable.cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/network/src/network/Synchronisable.cc

    r238 r245  
    4848  for(i=syncList.begin(); n<totalsize && i!=syncList.end(); i++){
    4949        //CHANGED: i->size TO (const void*)(&(i->size)) memcpy WANTS A CONST VOID* SO CONVERT INT TO CONST VOID* 
    50     std::memcpy(retVal.data+n, (const void*)(&(i->size)), sizeof(int));
     50    std::memcpy(retVal.data+n, (const void*)(i->size), sizeof(int));
    5151    n+=sizeof(int);
    5252    //CHANGED: i->var TO (const void*)(&(i->var)) SINCE var IS A POINTER, NO & BEFORE i
Note: See TracChangeset for help on using the changeset viewer.