Author: tkreuzer
Date: Sat May 23 15:37:02 2009
New Revision: 41070
URL:
http://svn.reactos.org/svn/reactos?rev=41070&view=rev
Log:
tcpip: fix a pointer to ULONG cast
Modified:
branches/ros-amd64-bringup/reactos/drivers/network/tcpip/datalink/lan.c
Modified: branches/ros-amd64-bringup/reactos/drivers/network/tcpip/datalink/lan.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/drive…
==============================================================================
--- branches/ros-amd64-bringup/reactos/drivers/network/tcpip/datalink/lan.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/drivers/network/tcpip/datalink/lan.c [iso-8859-1]
Sat May 23 15:37:02 2009
@@ -684,7 +684,7 @@
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 );