X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fwindows%2Fthread.cpp;fp=source%2Fcore%2Fwindows%2Fthread.cpp;h=8890a70fb1cbd0eaff8cf32cdea008950c92e43b;hp=24830943e6f096c7985171a1b26eeb4077c1f3a5;hb=41363aed34382386f915f17c1a961750b4fdcb14;hpb=26a5878092f6547e701fd1a33abbf1878d26ab70 diff --git a/source/core/windows/thread.cpp b/source/core/windows/thread.cpp index 2483094..8890a70 100644 --- a/source/core/windows/thread.cpp +++ b/source/core/windows/thread.cpp @@ -17,7 +17,7 @@ void Thread::platform_kill() void Thread::platform_launch() { DWORD dummy; // Win9x needs the lpTthreadId parameter - _priv->handle = CreateThread(0, 0, &Private::main_wrapper, this, 0, &dummy); + _priv->handle = CreateThread(nullptr, 0, &Private::main_wrapper, this, 0, &dummy); } void Thread::platform_setname()