X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fthread.h;h=ef095c6a0ce0ab8bf1a591e8714f2d469c4603f0;hp=60a2e83e7154096524c2583e7eccfe57f8cc5c30;hb=06acf132d03decb4e3d7b9d95d727f49c7dff428;hpb=1d05ea78e94897160f978f6103c5f4acf7fb43d3 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