]> git.tdb.fi Git - libs/core.git/commitdiff
Change Thread::main_wrapper's return value back to 0
authorMikko Rasa <tdb@tdb.fi>
Sun, 27 Nov 2022 13:25:38 +0000 (15:25 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 27 Nov 2022 13:25:38 +0000 (15:25 +0200)
It's a DWORD on Windows, not a pointer.

source/core/thread.cpp

index e860d6758f9e048f070b67855e7d7810456e7c48..841cc3f48e8111a894dc9151268fce3858dcd4f0 100644 (file)
@@ -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