mmserv/tms/tmsimpl/src/tmseffectimpl.cpp
branchRCL_3
changeset 13 f5c5c82a163e
parent 10 3d8c721bf319
child 16 43d09473c595
--- 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<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: