reactos/lib/ntdll/rtl
diff -u -r1.18 -r1.19
--- ppb.c 11 Jul 2003 13:50:23 -0000 1.18
+++ ppb.c 29 Sep 2004 08:41:39 -0000 1.19
@@ -1,4 +1,4 @@
-/* $Id: ppb.c,v 1.18 2003/07/11 13:50:23 royce Exp $
+/* $Id: ppb.c,v 1.19 2004/09/29 08:41:39 weiden Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS system libraries
@@ -22,8 +22,8 @@
/* MACROS ****************************************************************/
-#define NORMALIZE(x,addr) {if(x) x=(VOID*)((ULONG)(x)+(ULONG)(addr));}
-#define DENORMALIZE(x,addr) {if(x) x=(VOID*)((ULONG)(x)-(ULONG)(addr));}
+#define NORMALIZE(x,addr) {if(x) x=(PVOID)((ULONG_PTR)(x)+(ULONG_PTR)(addr));}
+#define DENORMALIZE(x,addr) {if(x) x=(PVOID)((ULONG_PTR)(x)-(ULONG_PTR)(addr));}
#define ALIGN(x,align) (((ULONG)(x)+(align)-1UL)&(~((align)-1UL)))