Fix definition of RtlRetrieveUlong to be 64bit safe.
Modified: trunk/reactos/include/ntos/rtl.h
_____
Modified: trunk/reactos/include/ntos/rtl.h
--- trunk/reactos/include/ntos/rtl.h 2005-01-12 14:09:07 UTC (rev
12967)
+++ trunk/reactos/include/ntos/rtl.h 2005-01-12 14:51:38 UTC (rev
12968)
@@ -2219,7 +2219,7 @@
* );
*/
#define RtlRetrieveUlong(DestAddress,SrcAddress) \
- if ((ULONG)(SrcAddress) & LONG_MASK) \
+ if ((ULONG_PTR)(SrcAddress) & LONG_MASK) \
{ \
((PUCHAR)(DestAddress))[0]=((PUCHAR)(SrcAddress))[0]; \
((PUCHAR)(DestAddress))[1]=((PUCHAR)(SrcAddress))[1]; \
Show replies by date