Commit in reactos/drivers/net/ndis/ndis on MAIN
miniport.c+2-21.31 -> 1.32
fixed compiling errors with gcc 3.4.x

reactos/drivers/net/ndis/ndis
miniport.c 1.31 -> 1.32
diff -u -r1.31 -r1.32
--- miniport.c	29 Jul 2004 05:00:43 -0000	1.31
+++ miniport.c	29 Jul 2004 16:46:22 -0000	1.32
@@ -118,7 +118,7 @@
             if (i % 16 == 0)
                 DbgPrint("\n%04X ", i);
             DbgPrint("%02X ", *p);
-            (ULONG_PTR)p += 1;
+            *(ULONG_PTR*)p += 1;
         }
 
         DbgPrint("\nFRAME:");
@@ -129,7 +129,7 @@
             if (i % 16 == 0)
                 DbgPrint("\n%04X ", i);
             DbgPrint("%02X ", *p);
-            (ULONG_PTR)p += 1;
+            *(ULONG_PTR*)p += 1;
         }
 
         DbgPrint("\n*** RECEIVE PACKET STOP ***\n");
CVSspam 0.2.8