mmserv/tms/tmsimpl/src/tmseffectimpl.cpp
changeset 14 80975da52420
parent 12 5a06f39ad45b
child 16 43d09473c595
--- a/mmserv/tms/tmsimpl/src/tmseffectimpl.cpp	Fri Apr 16 15:29:42 2010 +0300
+++ b/mmserv/tms/tmsimpl/src/tmseffectimpl.cpp	Mon May 03 12:59:52 2010 +0300
@@ -73,19 +73,19 @@
     switch (effecttype)
         {
         case TMS_EFFECT_VOLUME:
-            delete (TMSVolumeEffectImpl*) (tmseffect);
+            delete (static_cast<TMSVolumeEffectImpl*>(tmseffect));
             tmseffect = NULL;
             break;
         case TMS_EFFECT_GAIN:
-            delete (TMSGainEffectImpl*) (tmseffect);
+            delete (static_cast<TMSGainEffectImpl*>(tmseffect));
             tmseffect = NULL;
             break;
         case TMS_EFFECT_GLOBAL_VOL:
-            delete (TMSGlobalVolEffectImpl*) (tmseffect);
+            delete (static_cast<TMSGlobalVolEffectImpl*>(tmseffect));
             tmseffect = NULL;
             break;
         case TMS_EFFECT_GLOBAL_GAIN:
-            delete (TMSGlobalGainEffectImpl*) (tmseffect);
+            delete (static_cast<TMSGlobalGainEffectImpl*>(tmseffect));
             tmseffect = NULL;
             break;
         default: