From 3a558a3d8b1400e0bafe0ba5c368c65542462a36 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Sun, 28 Feb 2010 11:36:40 +0100 Subject: [PATCH] Function init_thread() should return an integer under Windows It happens that NULL is 0, but the conventional meaning is of a zero pointer, so repleace with an explicit 0 integer value. No functional change. Signed-off-by: Marco Costalba --- src/search.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.cpp b/src/search.cpp index c369bac3..c692baf5 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -2593,7 +2593,7 @@ namespace { DWORD WINAPI init_thread(LPVOID threadID) { TM.idle_loop(*(int*)threadID, NULL); - return NULL; + return 0; } #endif -- 2.39.2