Fix definition of RtlRetrieveUlong to be 64bit safe.

svn path=/trunk/; revision=12968
This commit is contained in:
Filip Navara
2005-01-12 14:51:38 +00:00
parent b5c55ab4de
commit 0918733dc9
+1 -1
View File
@@ -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]; \