mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
tcpip: fix a pointer to ULONG cast
svn path=/branches/ros-amd64-bringup/; revision=41070
This commit is contained in:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user