Rémi Bernon : kernel32/tests: Use HeapAlloc function pointer to silent a warning.
Alexandre Julliard
julliard at winehq.org
Fri Mar 25 15:28:08 CDT 2022
Module: wine
Branch: master
Commit: 1a1f471cc42e1a409c84e6dd2c11d75b88771439
URL: https://source.winehq.org/git/wine.git/?a=commit;h=1a1f471cc42e1a409c84e6dd2c11d75b88771439
Author: Rémi Bernon <rbernon at codeweavers.com>
Date: Fri Mar 25 13:47:59 2022 +0100
kernel32/tests: Use HeapAlloc function pointer to silent a warning.
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernel32/tests/heap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/kernel32/tests/heap.c b/dlls/kernel32/tests/heap.c
index bc573050d16..c597ff9590b 100644
--- a/dlls/kernel32/tests/heap.c
+++ b/dlls/kernel32/tests/heap.c
@@ -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 );
More information about the wine-cvs
mailing list