VirtualBox

Changeset 1237 in vbox


Ignore:
Timestamp:
Mar 5, 2007 6:04:26 PM (18 years ago)
Author:
vboxsync
Message:

Another correction

File:
1 edited

Legend:

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

    r1235 r1237  
    107107
    108108    /** @todo fix this properly; the ring 0 pVM address differs from the R3 one. */
    109     if (R0Ptr >= pVM->pVMR0 && R0Ptr < pVM->pVMR0 + sizeof(*pVM))
     109    if (R0Ptr >= pVM->pVMR0 && (RTR0UINTREG)R0Ptr < (RTR0UINTREG)pVM->pVMR0 + sizeof(*pVM))
    110110        R3Ptr = (RTR3PTR)((RTR0UINTREG)R0Ptr - (RTR0UINTREG)pVM + (RTR0UINTREG)pVM->pVMR3);
    111111    else
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