Michael Stefaniuc : msvcrt/tests: Use NULL instead of casting 0.
Alexandre Julliard
julliard at winehq.org
Wed Feb 1 15:26:06 CST 2017
Module: wine
Branch: master
Commit: 6fadcca527f8d4a9766ebc759d2e43fe16e97141
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6fadcca527f8d4a9766ebc759d2e43fe16e97141
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Wed Feb 1 10:47:20 2017 +0100
msvcrt/tests: Use NULL instead of casting 0.
Signed-off-by: Michael Stefaniuc <mstefani at redhat.de>
Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/msvcrt/tests/misc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/msvcrt/tests/misc.c b/dlls/msvcrt/tests/misc.c
index a6d2833..017ae77 100644
--- a/dlls/msvcrt/tests/misc.c
+++ b/dlls/msvcrt/tests/misc.c
@@ -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);
More information about the wine-cvs
mailing list