diff -r 7b58e65d61ee -r d141fc1ad77b qtms/src/qtmsclientsinkimpl.cpp --- a/qtms/src/qtmsclientsinkimpl.cpp Wed Jun 23 18:45:38 2010 +0300 +++ b/qtms/src/qtmsclientsinkimpl.cpp Tue Jul 06 14:48:59 2010 +0300 @@ -18,6 +18,7 @@ #include #include #include +#include #include "qtmsclientsinkimpl.h" using namespace QTMS; @@ -93,7 +94,9 @@ void QTMSClientSinkImpl::ProcessBuffer(const TMS::TMSBuffer* buffer) { - emit QTMS::QTMSClientSink::ProcessBuffer(buffer); + TMSBuffer* buf(const_cast (buffer)); + QTMSBuffer* qtbuf(reinterpret_cast (buf)); + emit QTMSClientSink::ProcessBuffer(qtbuf); } // End of file