summaryrefslogtreecommitdiffstats
path: root/src/Thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Thread.cpp')
-rw-r--r--src/Thread.cpp2
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;