VirtualBox

Changeset 9280 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jun 2, 2008 8:06:50 AM (17 years ago)
Author:
vboxsync
Message:

Corrected casts (64 bits guest pointers)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IOMAll.cpp

    r9212 r9280  
    279279    }
    280280#ifdef IN_GC
    281     Assert(!pRange || MMHyperIsInsideArea(pVM, (RTGCPTR)pRange)); /** @todo r=bird: there is a macro for this which skips the #if'ing. */
     281    AssertMsg(!pRange || MMHyperIsInsideArea(pVM, (RTGCPTR)(RTRCUINTPTR)pRange), ("pRange = %VGv\n", pRange)); /** @todo r=bird: there is a macro for this which skips the #if'ing. */
    282282#endif
    283283
     
    426426    }
    427427#ifdef IN_GC
    428     Assert(!pRange || MMHyperIsInsideArea(pVM, (RTGCPTR)pRange)); /** @todo r=bird: there is a macro for this which skips the #if'ing. */
     428    Assert(!pRange || MMHyperIsInsideArea(pVM, (RTGCPTR)(RTRCUINTPTR)pRange)); /** @todo r=bird: there is a macro for this which skips the #if'ing. */
    429429#endif
    430430
     
    549549    }
    550550#ifdef IN_GC
    551     Assert(!pRange || MMHyperIsInsideArea(pVM, (RTGCPTR)pRange));
     551    Assert(!pRange || MMHyperIsInsideArea(pVM, (RTGCPTR)(RTRCUINTPTR)pRange));
    552552#endif
    553553
     
    673673    }
    674674#ifdef IN_GC
    675     Assert(!pRange || MMHyperIsInsideArea(pVM, (RTGCPTR)pRange)); /** @todo r=bird: there is a macro for this which skips the #if'ing. */
     675    Assert(!pRange || MMHyperIsInsideArea(pVM, (RTGCPTR)(RTRCUINTPTR)pRange)); /** @todo r=bird: there is a macro for this which skips the #if'ing. */
    676676#endif
    677677
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