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