mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
Fix definition of RtlRetrieveUlong to be 64bit safe.
svn path=/trunk/; revision=12968
This commit is contained in:
@@ -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]; \
|
||||
|
||||
Reference in New Issue
Block a user