Commit in reactos/lib/ntdll/rtl on MAIN
ppb.c+3-31.18 -> 1.19
use ULONG_PTR to calculate pointers

reactos/lib/ntdll/rtl
ppb.c 1.18 -> 1.19
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)))
 
 
CVSspam 0.2.8