From: Mikko Rasa Date: Sun, 27 Nov 2022 13:25:38 +0000 (+0200) Subject: Change Thread::main_wrapper's return value back to 0 X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=5a0e17aa977c0fdb39e4f48d07aaaeeb37054149;p=libs%2Fcore.git Change Thread::main_wrapper's return value back to 0 It's a DWORD on Windows, not a pointer. --- diff --git a/source/core/thread.cpp b/source/core/thread.cpp index e860d67..841cc3f 100644 --- a/source/core/thread.cpp +++ b/source/core/thread.cpp @@ -51,7 +51,7 @@ ThreadReturn THREAD_CALL Thread::Private::main_wrapper(void *arg) thread->platform_setname(); thread->main(); thread->_state = FINISHED; - return nullptr; + return 0; } } // namespace Msp