Changeset 107724 in vbox
- Timestamp:
- Jan 13, 2025 8:20:36 PM (4 months ago)
- svn:sync-xref-src-repo-rev:
- 166826
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/VHD.cpp
r106061 r107724 1598 1598 } 1599 1599 1600 cbToRead = cSectors * VHD_SECTOR_SIZE;1600 cbToRead = (size_t)cSectors * VHD_SECTOR_SIZE; 1601 1601 1602 1602 LogFlowFunc(("uVhdOffset=%llu cbToRead=%u\n", uVhdOffset, cbToRead)); … … 1624 1624 } 1625 1625 1626 cbToRead = cSectors * VHD_SECTOR_SIZE;1626 cbToRead = (size_t)cSectors * VHD_SECTOR_SIZE; 1627 1627 LogFunc(("Sectors free: uVhdOffset=%llu cbToRead=%u\n", uVhdOffset, cbToRead)); 1628 1628 rc = VERR_VD_BLOCK_FREE; … … 1691 1691 || (cbToWrite != pImage->cbDataBlock)) 1692 1692 { 1693 *pcbPreRead = cBATEntryIndex * VHD_SECTOR_SIZE;1693 *pcbPreRead = (size_t)cBATEntryIndex * VHD_SECTOR_SIZE; 1694 1694 *pcbPostRead = pImage->cSectorsPerDataBlock * VHD_SECTOR_SIZE - cbToWrite - *pcbPreRead; 1695 1695
Note:
See TracChangeset
for help on using the changeset viewer.