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

This commit is contained in:
André Hentschel 2011-01-12 20:54:24 +01:00 committed by Alexandre Julliard
parent 36352aaff9
commit dd07baa824
1 changed files with 2 additions and 2 deletions

View File

@ -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);