Changeset 569 for code/branches/FICN/src/network/Synchronisable.cc
- Timestamp:
- Dec 17, 2007, 12:21:27 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/network/Synchronisable.cc
r565 r569 113 113 retVal.data=mem; 114 114 // copy to location 115 //CHANGED: REMOVED DECLARATION int n=0 FROM LOOP116 115 int n=0; 117 116 for(i=syncList.begin(); n<datasize && i!=syncList.end(); i++){ 118 std::memcpy(retVal.data+n, (const void*)(i->size), sizeof(int)); 117 //COUT(2) << "size of variable: " << i->size << std::endl; 118 //COUT(2) << "size of variable: " << i->size << std::endl; 119 std::memcpy(retVal.data+n, (const void*)(&(i->size)), sizeof(int)); 119 120 n+=sizeof(int); 120 121 switch(i->type){
Note: See TracChangeset
for help on using the changeset viewer.