Commit 8e0b337d authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 3c715f14
...@@ -2561,9 +2561,9 @@ START_TEST(server) ...@@ -2561,9 +2561,9 @@ START_TEST(server)
} }
else if(!strcmp(argv[2], "run")) else if(!strcmp(argv[2], "run"))
{ {
UINT_PTR event; ULONG event;
sscanf(argv[3], "%lx", &event); sscanf(argv[3], "%x", &event);
run_server((HANDLE)event); run_server(ULongToHandle(event));
} }
} }
else else
......
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