diff -r 03a293c97d5c -r f5c5c82a163e mmserv/tms/tmsimpl/src/tmsglobalgaineffectimpl.cpp --- a/mmserv/tms/tmsimpl/src/tmsglobalgaineffectimpl.cpp Wed Apr 14 16:29:54 2010 +0300 +++ b/mmserv/tms/tmsimpl/src/tmsglobalgaineffectimpl.cpp Tue Apr 27 17:11:02 2010 +0300 @@ -77,7 +77,8 @@ gint ret(TMS_RESULT_SUCCESS); if (this->iBody) { - ((TMSGlobalGainEffectBodyImpl*) this->iBody)->SetParent(parent); + static_cast(this->iBody)->SetParent( + parent); } else {