Commit 6fadcca5 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msvcrt/tests: Use NULL instead of casting 0.

parent 34dd3260
...@@ -562,7 +562,7 @@ static void test_thread_handle_close(void) ...@@ -562,7 +562,7 @@ static void test_thread_handle_close(void)
DWORD ret; DWORD ret;
/* _beginthread: handle is not closed on ExitThread and _endthreadex */ /* _beginthread: handle is not closed on ExitThread and _endthreadex */
hThread = (HANDLE)_beginthread(test_thread_func, 0, (void*)0); hThread = (HANDLE)_beginthread(test_thread_func, 0, NULL);
ok(hThread != INVALID_HANDLE_VALUE, "_beginthread failed (%d)\n", errno); ok(hThread != INVALID_HANDLE_VALUE, "_beginthread failed (%d)\n", errno);
WaitForSingleObject(hThread, INFINITE); WaitForSingleObject(hThread, INFINITE);
ret = CloseHandle(hThread); ret = CloseHandle(hThread);
......
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