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:
Rémi Bernon 2022-03-25 13:47:59 +01:00 committed by Alexandre Julliard
parent 1c04073772
commit 1a1f471cc4
1 changed files with 1 additions and 1 deletions

View File

@ -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 );