// now test allocating lots of small/medium blocks
AllocNumber = 100000;
- Allocs = ExAllocatePoolWithTag(PagedPool, sizeof(Allocs) * AllocNumber, TAG_POOLTEST);
+ Allocs = ExAllocatePoolWithTag(PagedPool, sizeof(*Allocs) * AllocNumber, TAG_POOLTEST);
// alloc blocks
for (i=0; i<AllocNumber; i++)
Entries = (PVOID)&ListHead[1];
KeRaiseIrql(HIGH_LEVEL, &Irql);
- RtlFillMemory(Entries, sizeof Entries, 0x55);
+ RtlFillMemory(Entries, sizeof(*Entries), 0x55);
ListHead->Next = NULL;
TestListFunctional(ListHead, Entries, &SpinLock);
- RtlFillMemory(Entries, sizeof Entries, 0x55);
+ RtlFillMemory(Entries, sizeof(*Entries), 0x55);
ListHead->Next = NULL;
TestListFunctionalExports(ListHead, Entries, &SpinLock);
- RtlFillMemory(Entries, sizeof Entries, 0x55);
+ RtlFillMemory(Entries, sizeof(*Entries), 0x55);
ListHead->Next = NULL;
TestListFunctionalNoInterlocked(ListHead, Entries, &SpinLock);