Skip to content
Snippets Groups Projects
Commit dd07baa8 authored by André Zwing's avatar André Zwing Committed by Alexandre Julliard
Browse files

kernel32/tests: Use the right return type and a better failed test message.

parent 36352aaf
No related branches found
No related tags found
No related merge requests found
......@@ -1449,7 +1449,7 @@ static void test_overlapped(void)
{
DWORD tid, num;
HANDLE thread, pipe;
int ret;
BOOL ret;
struct overlapped_server_args args;
args.pipe_created = CreateEventA(0, 1, 0, 0);
......@@ -1463,7 +1463,7 @@ static void test_overlapped(void)
Sleep(1);
ret = WriteFile(pipe, "x", 1, &num, NULL);
ok(ret == 1, "ret %d\n", ret);
ok(ret, "WriteFile failed with error %d\n", GetLastError());
WaitForSingleObject(thread, INFINITE);
CloseHandle(pipe);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment