Fix declaration of NdisCopyLookaheadData

svn path=/trunk/; revision=67565
This commit is contained in:
Timo Kreuzer 2015-05-05 20:34:34 +00:00
parent 1112c00ae0
commit 472e68f392

View file

@ -608,7 +608,7 @@ typedef struct _NDIS_RW_LOCK {
UCHAR Reserved[16]; UCHAR Reserved[16];
}; };
__MINGW_EXTENSION union { __MINGW_EXTENSION union {
NDIS_RW_LOCK_REFCOUNT RefCount[MAXIMUM_PROCESSORS]; NDIS_RW_LOCK_REFCOUNT RefCount[MAXIMUM_PROCESSORS];
ULONG RefCountEx[sizeof(NDIS_RW_LOCK_REFCOUNT)/sizeof(ULONG) * MAXIMUM_PROCESSORS]; ULONG RefCountEx[sizeof(NDIS_RW_LOCK_REFCOUNT)/sizeof(ULONG) * MAXIMUM_PROCESSORS];
__MINGW_EXTENSION struct { __MINGW_EXTENSION struct {
KSPIN_LOCK RefCountLock; KSPIN_LOCK RefCountLock;
@ -3271,7 +3271,7 @@ NdisCopyBuffer(
{ \ { \
if ((MacOptions) & NDIS_MAC_OPTION_COPY_LOOKAHEAD_DATA) \ if ((MacOptions) & NDIS_MAC_OPTION_COPY_LOOKAHEAD_DATA) \
{ \ { \
RtlCopyMemory(_Destination, _Source, _Length); \ RtlCopyMemory(Destination, Source, Length); \
} \ } \
else \ else \
{ \ { \