mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +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:
parent
14dbeb22dd
commit
3a558a3d8b
1 changed files with 1 additions and 1 deletions
|
@ -2593,7 +2593,7 @@ namespace {
|
|||
DWORD WINAPI init_thread(LPVOID threadID) {
|
||||
|
||||
TM.idle_loop(*(int*)threadID, NULL);
|
||||
return NULL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue