1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #1638, #307, fix build warnings

This commit is contained in:
winlin 2020-03-17 09:16:52 +08:00
parent e8b2bb5d28
commit b5dd502103
7 changed files with 36 additions and 37 deletions

View file

@ -836,7 +836,7 @@ void SrsRtpPacketQueue::clear()
void SrsRtpPacketQueue::push(std::vector<SrsRtpSharedPacket*>& pkts)
{
for (int i = 0; i < pkts.size(); ++i) {
for (int i = 0; i < (int)pkts.size(); ++i) {
insert(pkts[i]->sequence, pkts[i]);
}
}