VirtualBox

Changeset 21283 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Jul 6, 2009 11:45:50 PM (15 years ago)
Author:
vboxsync
Message:

memuserkernel-r0drv-nt.cpp: build fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/nt/memuserkernel-r0drv-nt.cpp

    r21282 r21283  
    4343    __try
    4444    {
    45         ProbeForRead(R3PtrSrc, cb, 1);
     45        ProbeForRead((PVOID)R3PtrSrc, cb, 1);
    4646        memcpy(pvDst, (void const *)R3PtrSrc, cb);
    4747    }
     
    5858    __try
    5959    {
    60         ProbeForWrite(R3PtrDst, cb, 1);
     60        ProbeForWrite((PVOID)R3PtrDst, cb, 1);
    6161        memcpy((void *)R3PtrDst, pvSrc, cb);
    6262    }
     
    7575    return R3Ptr < _2G;
    7676#else
    77     return R3Ptr <= MM_HIGHEST_USER_ADDRESS;
     77    return R3Ptr <= (uintptr_t)MM_HIGHEST_USER_ADDRESS;
    7878#endif
    7979}
     
    8686    return (uintptr_t) >= _2G;
    8787#else
    88     return (uintptr_t)pv >= MM_SYSTEM_RANGE_START;
     88    return (uintptr_t)pv >= (uintptr_t)MM_SYSTEM_RANGE_START;
    8989#endif
    9090}
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