mmserv/tms/tmsimpl/src/tmsformatimpl.cpp
branchRCL_3
changeset 9 f5c5c82a163e
parent 7 3d8c721bf319
child 11 3570217d8c21
--- a/mmserv/tms/tmsimpl/src/tmsformatimpl.cpp	Wed Apr 14 16:29:54 2010 +0300
+++ b/mmserv/tms/tmsimpl/src/tmsformatimpl.cpp	Tue Apr 27 17:11:02 2010 +0300
@@ -78,23 +78,23 @@
     switch (fmttype)
         {
         case TMS_FORMAT_PCM:
-            delete (TMSPCMFormatImpl*) (tmsfmt);
+            delete (static_cast<TMSPCMFormatImpl*>(tmsfmt));
             tmsfmt = NULL;
             break;
         case TMS_FORMAT_AMR:
-            delete (TMSAMRFormatImpl*) (tmsfmt);
+            delete (static_cast<TMSAMRFormatImpl*>(tmsfmt));
             tmsfmt = NULL;
             break;
         case TMS_FORMAT_G711:
-            delete (TMSG711FormatImpl*) (tmsfmt);
+            delete (static_cast<TMSG711FormatImpl*>(tmsfmt));
             tmsfmt = NULL;
             break;
         case TMS_FORMAT_G729:
-            delete (TMSG729FormatImpl*) (tmsfmt);
+            delete (static_cast<TMSG729FormatImpl*>(tmsfmt));
             tmsfmt = NULL;
             break;
         case TMS_FORMAT_ILBC:
-            delete (TMSILBCFormatImpl*) (tmsfmt);
+            delete (static_cast<TMSILBCFormatImpl*>(tmsfmt));
             tmsfmt = NULL;
             break;
         default: