diff options
Diffstat (limited to 'src/Thread.cpp')
-rw-r--r-- | src/Thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Thread.cpp b/src/Thread.cpp index 00bc616..9c1a920 100644 --- a/src/Thread.cpp +++ b/src/Thread.cpp @@ -74,7 +74,7 @@ Thread::get() void* Thread::_static_run(void* thread) { - Thread* me = (Thread*)thread; + Thread* me = static_cast<Thread*>(thread); pthread_setspecific(me->_thread_key, thread); me->_run(); me->_pthread_exists = false; |