Author: tkreuzer
Date: Sat Sep 6 18:56:10 2008
New Revision: 36011
URL:
http://svn.reactos.org/svn/reactos?rev=36011&view=rev
Log:
Fix a ULONG to pointer cast to make out shiny new RosBE happy.
Modified:
branches/ros-amd64-bringup/reactos/drivers/network/ndis/ndis/io.c
Modified: branches/ros-amd64-bringup/reactos/drivers/network/ndis/ndis/io.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/drive…
==============================================================================
--- branches/ros-amd64-bringup/reactos/drivers/network/ndis/ndis/io.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/drivers/network/ndis/ndis/io.c [iso-8859-1] Sat Sep
6 18:56:10 2008
@@ -873,7 +873,7 @@
if(AddressSpace)
{
ASSERT(TranslatedAddress.u.HighPart == 0);
- *PortOffset = (PVOID) TranslatedAddress.u.LowPart;
+ *PortOffset = (PVOID)(ULONG_PTR)TranslatedAddress.QuadPart;
NDIS_DbgPrint(MAX_TRACE, ("Returning 0x%x\n", *PortOffset));
return NDIS_STATUS_SUCCESS;
}