- Timestamp:
- Feb 21, 2013 3:58:31 PM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 83899
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/VHD.cpp
r44673 r44786 300 300 { 301 301 int rc = VINF_SUCCESS; 302 uint32_t cb, cbMaxLen = RT_BE2H_U32(pLocator->u32DataSpace) * VHD_SECTOR_SIZE;302 uint32_t cb, cbMaxLen = RT_BE2H_U32(pLocator->u32DataSpace); 303 303 void *pvBuf = RTMemTmpAllocZ(cbMaxLen); 304 304 char *pszTmp; … … 395 395 rc = vdIfIoIntFileWriteSync(pImage->pIfIo, pImage->pStorage, 396 396 RT_BE2H_U64(pLocator->u64DataOffset), 397 pvBuf, RT_BE2H_U32(pLocator->u32DataSpace) * VHD_SECTOR_SIZE);397 pvBuf, cb); 398 398 399 399 if (pvBuf)
Note:
See TracChangeset
for help on using the changeset viewer.