[ros-diffs] [tkreuzer] 55675: [FREELDR] - Fix heap code for 64 bit (before someone asks: the reason to use ULONG_PTR instead of ULONG is warning free code without casts)

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Fri Feb 17 17:22:14 UTC 2012


Author: tkreuzer
Date: Fri Feb 17 17:22:14 2012
New Revision: 55675

URL: http://svn.reactos.org/svn/reactos?rev=55675&view=rev
Log:
[FREELDR]
- Fix heap code for 64 bit (before someone asks: the reason to use ULONG_PTR instead of ULONG is warning free code without casts)

Modified:
    trunk/reactos/boot/freeldr/freeldr/mm/heap_new.c

Modified: trunk/reactos/boot/freeldr/freeldr/mm/heap_new.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/mm/heap_new.c?rev=55675&r1=55674&r2=55675&view=diff
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/mm/heap_new.c [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/mm/heap_new.c [iso-8859-1] Fri Feb 17 17:22:14 2012
@@ -39,8 +39,8 @@
 
 typedef struct _BLOCK_DATA
 {
-    ULONG_PTR Flink;
-    ULONG_PTR Blink;
+    ULONG_PTR Flink:32;
+    ULONG_PTR Blink:32;
 } BLOCK_DATA, *PBLOCK_DATA;
 
 typedef struct _HEAP_BLOCK




More information about the Ros-diffs mailing list