[USP10_WINETEST] Sync with Wine Staging 2.9. CORE-13362
[reactos.git] / rostests / kmtests / ntos_ex / ExPools.c
index a001061..9b67eed 100644 (file)
@@ -90,7 +90,7 @@ static VOID PoolsTest(VOID)
 
     // 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++)