Changeset 2506 for code/branches/presentation/src/network/packet
- Timestamp:
- Dec 17, 2008, 6:18:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation/src/network/packet/DeleteObjects.cc
r2371 r2506 65 65 data_ = new uint8_t[size]; 66 66 uint8_t *tdata = data_; 67 * (ENUM::Type *)(tdata) = ENUM::DeleteObjects;67 *reinterpret_cast<ENUM::Type*>(tdata) = ENUM::DeleteObjects; 68 68 tdata += sizeof(ENUM::Type); 69 69 *(uint32_t *)tdata = number; … … 72 72 unsigned int temp = Synchronisable::popDeletedObject(); 73 73 // assert(temp<10000); //ugly hack 74 * (uint32_t *)(tdata) = temp;74 *reinterpret_cast<uint32_t*>(tdata) = temp; 75 75 COUT(3) << temp << " "; 76 76 tdata += sizeof(uint32_t);
Note: See TracChangeset
for help on using the changeset viewer.