Changeset 18456 in vbox for trunk/src/VBox
- Timestamp:
- Mar 28, 2009 4:47:55 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/tstSSM.cpp
r16162 r18456 259 259 * Put the size. 260 260 */ 261 size_t cb = sizeof(gabBigMem);261 uint32_t cb = sizeof(gabBigMem); 262 262 int rc = SSMR3PutU32(pSSM, cb); 263 263 if (RT_FAILURE(rc)) … … 271 271 */ 272 272 uint8_t *pbMem = &gabBigMem[0]; 273 size_t cbChunk = cb / 47;273 uint32_t cbChunk = cb / 47; 274 274 rc = SSMR3PutMem(pSSM, pbMem, cbChunk); 275 275 if (RT_FAILURE(rc)) … … 336 336 uint8_t *pbMem = &gabBigMem[0]; 337 337 char achTmp[16383]; 338 size_tcbChunk = sizeof(achTmp);338 uint32_t cbChunk = sizeof(achTmp); 339 339 while (cb > 0) 340 340 { … … 379 379 * Put the size. 380 380 */ 381 size_t cb = 512*_1M;381 uint32_t cb = 512*_1M; 382 382 int rc = SSMR3PutU32(pSSM, cb); 383 383 if (RT_FAILURE(rc)) … … 481 481 * Put the size. 482 482 */ 483 size_t cb = 512*_1M;483 uint32_t cb = 512*_1M; 484 484 int rc = SSMR3PutU32(pSSM, cb); 485 485 if (RT_FAILURE(rc))
Note:
See TracChangeset
for help on using the changeset viewer.