Commit 3c715f14 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 94697119
......@@ -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"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment