mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 12:23:29 +00:00
- Make CancelId a LONG
svn path=/trunk/; revision=41460
This commit is contained in:
@@ -21,7 +21,7 @@ ULONG DebugTraceLevel = MIN_TRACE;
|
||||
|
||||
#endif /* DBG */
|
||||
|
||||
UCHAR CancelId;
|
||||
LONG CancelId;
|
||||
|
||||
|
||||
VOID NTAPI MainUnload(
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
#include "ndissys.h"
|
||||
|
||||
extern UCHAR CancelId;
|
||||
extern LONG CancelId;
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
@@ -522,7 +522,7 @@ NdisGeneratePartialCancelId(VOID)
|
||||
{
|
||||
UCHAR PartialCancelId;
|
||||
|
||||
PartialCancelId = InterlockedIncrement((PLONG)&CancelId);
|
||||
PartialCancelId = (UCHAR)InterlockedIncrement(&CancelId);
|
||||
|
||||
NDIS_DbgPrint(MAX_TRACE, ("Cancel ID %u\n", PartialCancelId));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user