]> git.tdb.fi Git - libs/core.git/commitdiff
Convert a C-style cast to C++-style
authorMikko Rasa <tdb@tdb.fi>
Wed, 24 Sep 2008 16:16:17 +0000 (16:16 +0000)
committerMikko Rasa <tdb@tdb.fi>
Wed, 24 Sep 2008 16:16:17 +0000 (16:16 +0000)
source/core/thread.h

index 60a2e83e7154096524c2583e7eccfe57f8cc5c30..ef095c6a0ce0ab8bf1a591e8714f2d469c4603f0 100644 (file)
@@ -43,7 +43,7 @@ private:
 #else
        void *
 #endif
-       main_(void *t) { ((Thread *)t)->main(); return 0; }
+       main_(void *t) { (reinterpret_cast<Thread *>(t))->main(); return 0; }
 };
 
 } // namespace Msp