From: Marco Costalba Date: Sun, 28 Feb 2010 10:36:40 +0000 (+0100) Subject: Function init_thread() should return an integer under Windows X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=3a558a3d8b1400e0bafe0ba5c368c65542462a36;ds=sidebyside 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 --- 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