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/dvmgpt.cpp

    r40027 r40137  
    487487                                                        uint64_t offStart, size_t cbRange,
    488488                                                        uint64_t *poffVol,
    489                                                         size_t *pcbIntersect)
     489                                                        uint64_t *pcbIntersect)
    490490{
    491491    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