From 06acf132d03decb4e3d7b9d95d727f49c7dff428 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 24 Sep 2008 16:16:17 +0000 Subject: [PATCH] Convert a C-style cast to C++-style --- source/core/thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.0