tcpip: fix a pointer to ULONG cast

svn path=/branches/ros-amd64-bringup/; revision=41070
This commit is contained in:
Timo Kreuzer
2009-05-23 11:37:02 +00:00
parent 606b5e8b01
commit 107b7b3802
+1 -1
View File
@@ -684,7 +684,7 @@ VOID LANTransmit(
if (Adapter->MTU < PacketLength) {
/* This is NOT a pointer. MSDN explicitly says so. */
NDIS_PER_PACKET_INFO_FROM_PACKET(NdisPacket,
TcpLargeSendPacketInfo) = (PVOID)((ULONG)Adapter->MTU);
TcpLargeSendPacketInfo) = (PVOID)((ULONG_PTR)Adapter->MTU);
}
TcpipAcquireSpinLock( &Adapter->Lock, &OldIrql );