]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/windows/thread.cpp
Use nullptr instead of 0 for pointers
[libs/core.git] / source / core / windows / thread.cpp
index 24830943e6f096c7985171a1b26eeb4077c1f3a5..8890a70fb1cbd0eaff8cf32cdea008950c92e43b 100644 (file)
@@ -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()