- Timestamp:
- 09/15/07 20:20:13 (1 year ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
Mulberry/trunk/Linux/Sources/Application/Server/CServerTable.cp
r21 r107 740 740 if (data) 741 741 { 742 int* i = reinterpret_cast<int*>(data);743 * i= count;744 i++;745 void** vdata = reinterpret_cast<void**>( i);742 unsigned char* ptr = data; 743 *((int*) ptr) = count; 744 ptr += sizeof(int); 745 void** vdata = reinterpret_cast<void**>(ptr); 746 746 for(ulvector::const_iterator iter = rows.begin(); iter != rows.end(); iter++) 747 747 { … … 1325 1325 } 1326 1326 1327 //int count = *((int*) drag_data)++;1328 1327 int count = *((int*)drag_data); 1329 1328 drag_data += sizeof(int); … … 1357 1356 else if (theFlavor == CMulberryApp::sFlavorWDList) 1358 1357 { 1359 //int count = *((int*) drag_data)++;1360 1358 int count = *(int*)(drag_data); 1361 1359 drag_data += sizeof(int); … … 1401 1399 else if (theFlavor == CMulberryApp::sFlavorMboxList) 1402 1400 { 1403 //int count = *((int*) drag_data)++;1404 1401 int count = *(int*)drag_data; 1405 1402 drag_data += sizeof(int);