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:
parent
9469711946
commit
3c715f14c7
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue