mmserv/tms/tmsimpl/src/tmsclientsinkbodyimpl.cpp
branchRCL_3
changeset 13 f5c5c82a163e
parent 3 4f62049db6ac
child 18 2eb3b066cc7d
--- a/mmserv/tms/tmsimpl/src/tmsclientsinkbodyimpl.cpp	Wed Apr 14 16:29:54 2010 +0300
+++ b/mmserv/tms/tmsimpl/src/tmsclientsinkbodyimpl.cpp	Tue Apr 27 17:11:02 2010 +0300
@@ -95,10 +95,9 @@
 
     if (iProxy)
         {
-        ret = iProxy->BufferEmptied(TMS_CALL_IP,
-                                    TMS_STREAM_UPLINK,
-                                    1, //TODO: must use strm_id
-                                    *buffer);
+        //TODO: must use strm_id instead of 1
+        ret = iProxy->BufferEmptied(TMS_CALL_IP, TMS_STREAM_UPLINK, 1,
+		        *buffer);
         }
     else
         {
@@ -120,7 +119,8 @@
     iProxy = aProxy;
     if (queuehandler)
         {
-        ((TMSQueueHandler*) queuehandler)->AddObserver(*this, TMS_SINK_CLIENT);
+        static_cast<TMSQueueHandler*>(queuehandler)->AddObserver(*this,
+                TMS_SINK_CLIENT);
         }
     }
 
@@ -132,7 +132,7 @@
         switch (aEventType)
             {
             case TMS_EVENT_SINK_PROCESS_BUFFER:
-                iObserver->ProcessBuffer(((TMSBuffer*) user_data));
+                iObserver->ProcessBuffer(static_cast<TMSBuffer*>(user_data));
                 break;
             default:
                 break;