Changeset 69906 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Dec 3, 2017 1:40:28 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dvm/dvmvfs.cpp
r69844 r69906 248 248 if (cbLeftToRead > 0) 249 249 { 250 rc = RTDvmVolumeRead(pThis->hVol, (uint64_t)off, pSgBuf->paSegs[0].pvSeg, cbLeftToRead);250 rc = RTDvmVolumeRead(pThis->hVol, offUnsigned, pSgBuf->paSegs[0].pvSeg, cbLeftToRead); 251 251 if (RT_SUCCESS(rc)) 252 252 offUnsigned += cbLeftToRead; … … 303 303 if (cbLeftToWrite > 0) 304 304 { 305 rc = RTDvmVolumeWrite(pThis->hVol, (uint64_t)off, pSgBuf->paSegs[0].pvSeg, cbLeftToWrite);305 rc = RTDvmVolumeWrite(pThis->hVol, offUnsigned, pSgBuf->paSegs[0].pvSeg, cbLeftToWrite); 306 306 if (RT_SUCCESS(rc)) 307 307 offUnsigned += cbLeftToWrite;
Note:
See TracChangeset
for help on using the changeset viewer.