msvcrt/tests: Use NULL instead of casting 0.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2017-02-01 10:47:20 +01:00 committed by Alexandre Julliard
parent 34dd326060
commit 6fadcca527
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@ static void test_thread_handle_close(void)
DWORD ret;
/* _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);
WaitForSingleObject(hThread, INFINITE);
ret = CloseHandle(hThread);