kernel32/tests: Use HeapAlloc function pointer to silent a warning.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1c04073772
commit
1a1f471cc4
|
@ -898,7 +898,7 @@ static void test_heap_checks( DWORD flags )
|
|||
if (flags & HEAP_PAGE_ALLOCS) return; /* no tests for that case yet */
|
||||
trace( "testing heap flags %08lx\n", flags );
|
||||
|
||||
p = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, 17 );
|
||||
p = pHeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, 17 );
|
||||
ok( p != NULL, "HeapAlloc failed\n" );
|
||||
|
||||
ret = HeapValidate( GetProcessHeap(), 0, p );
|
||||
|
|
Loading…
Reference in New Issue