Author: cgutman
Date: Fri Jun 19 09:12:20 2009
New Revision: 41460
URL:
http://svn.reactos.org/svn/reactos?rev=41460&view=rev
Log:
- Make CancelId a LONG
Modified:
trunk/reactos/drivers/network/ndis/ndis/main.c
trunk/reactos/drivers/network/ndis/ndis/misc.c
Modified: trunk/reactos/drivers/network/ndis/ndis/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/main.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/main.c [iso-8859-1] Fri Jun 19 09:12:20 2009
@@ -21,7 +21,7 @@
#endif /* DBG */
-UCHAR CancelId;
+LONG CancelId;
VOID NTAPI MainUnload(
Modified: trunk/reactos/drivers/network/ndis/ndis/misc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/network/ndis/ndis/…
==============================================================================
--- trunk/reactos/drivers/network/ndis/ndis/misc.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/network/ndis/ndis/misc.c [iso-8859-1] Fri Jun 19 09:12:20 2009
@@ -6,7 +6,7 @@
#include "ndissys.h"
-extern UCHAR CancelId;
+extern LONG CancelId;
/*
* @implemented
@@ -522,7 +522,7 @@
{
UCHAR PartialCancelId;
- PartialCancelId = InterlockedIncrement((PLONG)&CancelId);
+ PartialCancelId = (UCHAR)InterlockedIncrement(&CancelId);
NDIS_DbgPrint(MAX_TRACE, ("Cancel ID %u\n", PartialCancelId));