From: Mikko Rasa Date: Wed, 24 Sep 2008 16:16:17 +0000 (+0000) Subject: Convert a C-style cast to C++-style X-Git-Tag: 1.1~10 X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=06acf132d03decb4e3d7b9d95d727f49c7dff428;p=libs%2Fcore.git Convert a C-style cast to C++-style --- diff --git a/source/core/thread.h b/source/core/thread.h index 60a2e83..ef095c6 100644 --- a/source/core/thread.h +++ b/source/core/thread.h @@ -43,7 +43,7 @@ private: #else void * #endif - main_(void *t) { ((Thread *)t)->main(); return 0; } + main_(void *t) { (reinterpret_cast(t))->main(); return 0; } }; } // namespace Msp