kernel32/tests: Remove a couple of unnecessary NULL casts.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2022-04-27 15:20:13 +02:00 committed by Alexandre Julliard
parent 0519aec310
commit 84bce45eba
1 changed files with 2 additions and 2 deletions

View File

@ -1915,7 +1915,7 @@ static void test_block_layout( HANDLE heap, DWORD global_flags, DWORD heap_flags
tmp_flags = 0xdeadbeef;
ret = pRtlGetUserInfoHeap( heap, 0, ptr0, (void **)&tmp_ptr, &tmp_flags );
ok( ret, "RtlGetUserInfoHeap failed, error %lu\n", GetLastError() );
ok( tmp_ptr == (void *)NULL, "got ptr %p\n", tmp_ptr );
ok( tmp_ptr == NULL, "got ptr %p\n", tmp_ptr );
todo_wine
ok( tmp_flags == 0xc00, "got flags %#lx\n", tmp_flags );
@ -1923,7 +1923,7 @@ static void test_block_layout( HANDLE heap, DWORD global_flags, DWORD heap_flags
tmp_flags = 0xdeadbeef;
ret = pRtlGetUserInfoHeap( heap, 0, ptr1, (void **)&tmp_ptr, &tmp_flags );
ok( ret, "RtlGetUserInfoHeap failed, error %lu\n", GetLastError() );
ok( tmp_ptr == (void *)NULL, "got ptr %p\n", tmp_ptr );
ok( tmp_ptr == NULL, "got ptr %p\n", tmp_ptr );
todo_wine
ok( tmp_flags == 0x200, "got flags %#lx\n", tmp_flags );