Changeset 26242 in vbox
- Timestamp:
- Feb 4, 2010 4:17:05 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PDMAsyncCompletionFileCache.cpp
r26240 r26242 1413 1413 cbToRead = RT_MIN(pEntry->cbData - OffDiff, cbRead); 1414 1414 1415 AssertMsg(off + cbToRead <= pEntry->Core.Key + pEntry->Core.KeyLast,1415 AssertMsg(off + (RTFOFF)cbToRead <= pEntry->Core.Key + pEntry->Core.KeyLast, 1416 1416 ("Buffer of cache entry exceeded off=%RTfoff cbToRead=%z\n", 1417 1417 off, cbToRead)); … … 1603 1603 1604 1604 AssertMsg( (off >= pEntryNew->Core.Key) 1605 && (off + cbToRead <= pEntryNew->Core.Key + pEntryNew->Core.KeyLast),1605 && (off + (RTFOFF)cbToRead <= pEntryNew->Core.Key + pEntryNew->Core.KeyLast), 1606 1606 ("Overflow in calculation off=%RTfoff OffsetAligned=%RTfoff\n", 1607 1607 off, pEntry->Core.Key));
Note:
See TracChangeset
for help on using the changeset viewer.