mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 07:27:46 +00:00
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 <mcostalba@gmail.com>
This commit is contained in:
+1
-1
@@ -2593,7 +2593,7 @@ namespace {
|
||||
DWORD WINAPI init_thread(LPVOID threadID) {
|
||||
|
||||
TM.idle_loop(*(int*)threadID, NULL);
|
||||
return NULL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user