Changeset 21283 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Jul 6, 2009 11:45:50 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/nt/memuserkernel-r0drv-nt.cpp
r21282 r21283 43 43 __try 44 44 { 45 ProbeForRead( R3PtrSrc, cb, 1);45 ProbeForRead((PVOID)R3PtrSrc, cb, 1); 46 46 memcpy(pvDst, (void const *)R3PtrSrc, cb); 47 47 } … … 58 58 __try 59 59 { 60 ProbeForWrite( R3PtrDst, cb, 1);60 ProbeForWrite((PVOID)R3PtrDst, cb, 1); 61 61 memcpy((void *)R3PtrDst, pvSrc, cb); 62 62 } … … 75 75 return R3Ptr < _2G; 76 76 #else 77 return R3Ptr <= MM_HIGHEST_USER_ADDRESS;77 return R3Ptr <= (uintptr_t)MM_HIGHEST_USER_ADDRESS; 78 78 #endif 79 79 } … … 86 86 return (uintptr_t) >= _2G; 87 87 #else 88 return (uintptr_t)pv >= MM_SYSTEM_RANGE_START;88 return (uintptr_t)pv >= (uintptr_t)MM_SYSTEM_RANGE_START; 89 89 #endif 90 90 }
Note:
See TracChangeset
for help on using the changeset viewer.