mmserv/tms/tmsimpl/src/tmssinkimpl.cpp
changeset 14 80975da52420
parent 12 5a06f39ad45b
child 16 43d09473c595
--- a/mmserv/tms/tmsimpl/src/tmssinkimpl.cpp	Fri Apr 16 15:29:42 2010 +0300
+++ b/mmserv/tms/tmsimpl/src/tmssinkimpl.cpp	Mon May 03 12:59:52 2010 +0300
@@ -69,21 +69,21 @@
         {
         case TMS_SINK_CLIENT:
             {
-            delete (TMSClientSinkImpl*) (tmssink);
+            delete (static_cast<TMSClientSinkImpl*>(tmssink));
             tmssink = NULL;
             ret = TMS_RESULT_SUCCESS;
             }
             break;
         case TMS_SINK_MODEM:
             {
-            delete (TMSModemSinkImpl*) (tmssink);
+            delete (static_cast<TMSModemSinkImpl*>(tmssink));
             tmssink = NULL;
             ret = TMS_RESULT_SUCCESS;
             }
             break;
         case TMS_SINK_SPEAKER:
             {
-            delete (TMSSpeakerSinkImpl*) (tmssink);
+            delete (static_cast<TMSSpeakerSinkImpl*>(tmssink));
             tmssink = NULL;
             ret = TMS_RESULT_SUCCESS;
             }