Author: cgutman
Date: Sun May 24 04:21:37 2009
New Revision: 41087
URL:
http://svn.reactos.org/svn/reactos?rev=41087&view=rev
Log:
- Irp->AssociatedIrp.SystemBuffer is a PNDIS_OID
Modified:
trunk/reactos/drivers/network/ndis/ndis/miniport.c
Modified: trunk/reactos/drivers/network/ndis/ndis/miniport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/miniport.c [iso-8859-1] Sun May 24 04:21:37
2009
@@ -2020,7 +2020,7 @@
{
case IOCTL_NDIS_QUERY_GLOBAL_STATS:
Status = MiniQueryInformation(Adapter,
- (NDIS_OID)Irp->AssociatedIrp.SystemBuffer,
+ *(PNDIS_OID)Irp->AssociatedIrp.SystemBuffer,
Stack->Parameters.DeviceIoControl.OutputBufferLength,
MmGetSystemAddressForMdl(Irp->MdlAddress),
&Irp->IoStatus.Information);