1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-01 09:13:08 +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:
Marco Costalba 2010-02-28 11:36:40 +01:00
parent 14dbeb22dd
commit 3a558a3d8b

View file

@ -2593,7 +2593,7 @@ namespace {
DWORD WINAPI init_thread(LPVOID threadID) { DWORD WINAPI init_thread(LPVOID threadID) {
TM.idle_loop(*(int*)threadID, NULL); TM.idle_loop(*(int*)threadID, NULL);
return NULL; return 0;
} }
#endif #endif