VirtualBox

Ignore:
Timestamp:
Feb 15, 2012 4:24:51 PM (13 years ago)
Author:
vboxsync
Message:

Runtime/Dvm: Use uint64_t instead of size_t for the number of intersecting bytes because size_t is only 32bits wide on 32bit hosts and the value can exceed the range

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/dvm/dvmmbr.cpp

    r40027 r40137  
    356356                                                        uint64_t offStart, size_t cbRange,
    357357                                                        uint64_t *poffVol,
    358                                                         size_t *pcbIntersect)
     358                                                        uint64_t *pcbIntersect)
    359359{
    360360    bool fIntersect = false;
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