From 0918733dc93a4bcb9ecbfa0833f03dbce8a6dadc Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Wed, 12 Jan 2005 14:51:38 +0000 Subject: [PATCH] Fix definition of RtlRetrieveUlong to be 64bit safe. svn path=/trunk/; revision=12968 --- reactos/include/ntos/rtl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/include/ntos/rtl.h b/reactos/include/ntos/rtl.h index b4fc9c4d9f6..61d33414bbf 100755 --- a/reactos/include/ntos/rtl.h +++ b/reactos/include/ntos/rtl.h @@ -2219,7 +2219,7 @@ RtlResetRtlTranslations (IN PNLSTABLEINFO NlsTable); * ); */ #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]; \