From 5a0e17aa977c0fdb39e4f48d07aaaeeb37054149 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 27 Nov 2022 15:25:38 +0200 Subject: [PATCH] Change Thread::main_wrapper's return value back to 0 It's a DWORD on Windows, not a pointer. --- source/core/thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0