VirtualBox

Changeset 26242 in vbox


Ignore:
Timestamp:
Feb 4, 2010 4:17:05 PM (15 years ago)
Author:
vboxsync
Message:

Build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMAsyncCompletionFileCache.cpp

    r26240 r26242  
    14131413            cbToRead = RT_MIN(pEntry->cbData - OffDiff, cbRead);
    14141414
    1415             AssertMsg(off + cbToRead <= pEntry->Core.Key + pEntry->Core.KeyLast,
     1415            AssertMsg(off + (RTFOFF)cbToRead <= pEntry->Core.Key + pEntry->Core.KeyLast,
    14161416                      ("Buffer of cache entry exceeded off=%RTfoff cbToRead=%z\n",
    14171417                       off, cbToRead));
     
    16031603
    16041604                AssertMsg(   (off >= pEntryNew->Core.Key)
    1605                           && (off + cbToRead <= pEntryNew->Core.Key + pEntryNew->Core.KeyLast),
     1605                          && (off + (RTFOFF)cbToRead <= pEntryNew->Core.Key + pEntryNew->Core.KeyLast),
    16061606                          ("Overflow in calculation off=%RTfoff OffsetAligned=%RTfoff\n",
    16071607                           off, pEntry->Core.Key));
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette