编译警告修复

This commit is contained in:
xia-chu 2021-04-20 17:17:56 +08:00
parent cce9de74d3
commit 007c04d958

View File

@ -308,7 +308,7 @@ void MultiMediaSourceMuxer::setTrackListener(const std::weak_ptr<MultiMuxerPriva
int MultiMediaSourceMuxer::totalReaderCount() const { int MultiMediaSourceMuxer::totalReaderCount() const {
#if defined(ENABLE_RTPPROXY) #if defined(ENABLE_RTPPROXY)
return _muxer->totalReaderCount() + _rtp_sender.size(); return _muxer->totalReaderCount() + (int)_rtp_sender.size();
#else #else
return _muxer->totalReaderCount(); return _muxer->totalReaderCount();
#endif #endif