kernel32/tests: Use the correct scanf format for a handle.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52155
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-12-03 16:27:18 +01:00
parent 9469711946
commit 3c715f14c7
1 changed files with 3 additions and 3 deletions

View File

@ -4206,9 +4206,9 @@ START_TEST(pipe)
{
if (!strcmp(argv[2], "writepipe"))
{
UINT_PTR handle;
sscanf(argv[3], "%lx", &handle);
child_process_write_pipe((HANDLE)handle);
ULONG handle;
sscanf(argv[3], "%x", &handle);
child_process_write_pipe(ULongToHandle(handle));
return;
}
if (!strcmp(argv[2], "checkpid"))