diff -r 03a293c97d5c -r f5c5c82a163e mmserv/tms/tmsimpl/src/tmseffectimpl.cpp --- a/mmserv/tms/tmsimpl/src/tmseffectimpl.cpp Wed Apr 14 16:29:54 2010 +0300 +++ b/mmserv/tms/tmsimpl/src/tmseffectimpl.cpp Tue Apr 27 17:11:02 2010 +0300 @@ -73,19 +73,19 @@ switch (effecttype) { case TMS_EFFECT_VOLUME: - delete (TMSVolumeEffectImpl*) (tmseffect); + delete (static_cast(tmseffect)); tmseffect = NULL; break; case TMS_EFFECT_GAIN: - delete (TMSGainEffectImpl*) (tmseffect); + delete (static_cast(tmseffect)); tmseffect = NULL; break; case TMS_EFFECT_GLOBAL_VOL: - delete (TMSGlobalVolEffectImpl*) (tmseffect); + delete (static_cast(tmseffect)); tmseffect = NULL; break; case TMS_EFFECT_GLOBAL_GAIN: - delete (TMSGlobalGainEffectImpl*) (tmseffect); + delete (static_cast(tmseffect)); tmseffect = NULL; break; default: