Changeset 40241 in vbox for trunk/src/VBox/Storage
- Timestamp:
- Feb 23, 2012 9:03:55 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/VDI.cpp
r40240 r40241 3244 3244 } 3245 3245 3246 for (uint32_t i = 0; i < getImageBlocks(&Hdr); i++) 3247 paBlocks[i] = RT_LE2H_U32(paBlocks[i]); 3248 3246 3249 pu32BlockBitmap = (uint32_t *)RTMemAllocZ(RT_ALIGN_Z(getImageBlocks(&Hdr) / 8, 4)); 3247 3250 if (!pu32BlockBitmap) … … 3286 3289 { 3287 3290 for (uint32_t i = 0; i < getImageBlocks(&Hdr); i++) 3288 paBlocks[i] = RT_H2 BE_U32(paBlocks[i]);3291 paBlocks[i] = RT_H2LE_U32(paBlocks[i]); 3289 3292 3290 3293 vdIfErrorMessage(pIfError, "Writing repaired block allocation table...\n");
Note:
See TracChangeset
for help on using the changeset viewer.