mmserv/tms/tmsimpl/src/tmsg729bodyimpl.cpp
branchRCL_3
changeset 9 f5c5c82a163e
parent 3 4f62049db6ac
child 12 2eb3b066cc7d
--- a/mmserv/tms/tmsimpl/src/tmsg729bodyimpl.cpp	Wed Apr 14 16:29:54 2010 +0300
+++ b/mmserv/tms/tmsimpl/src/tmsg729bodyimpl.cpp	Tue Apr 27 17:11:02 2010 +0300
@@ -94,7 +94,8 @@
         iProxy = context->CallProxy;
         iStreamType = context->StreamType;
         TMSFormatBodyImpl::SetProxy(iProxy, queuehandler);
-        ((TMSQueueHandler*) queuehandler)->AddObserver(*this, TMS_FORMAT_G729);
+        static_cast<TMSQueueHandler*>(queuehandler)->AddObserver(*this,
+                TMS_FORMAT_G729);
         }
     }