fixed compiling errors with gcc 3.4.x

svn path=/trunk/; revision=10311
This commit is contained in:
Thomas Bluemel 2004-07-29 16:46:22 +00:00
parent a8c60b138d
commit 7d74fb9d99

View file

@ -118,7 +118,7 @@ MiniDisplayPacket2(
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 @@ MiniDisplayPacket2(
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");