From 1c6a483e49b15e0621199846c94188696d746408 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Fri, 24 Jun 2022 23:47:47 +0200 Subject: [PATCH] Fix 32-bit compilation --- lib/sdp.cpp | 2 +- src/input/input_sdp.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/sdp.cpp b/lib/sdp.cpp index d8136c6e..a194cd9e 100644 --- a/lib/sdp.cpp +++ b/lib/sdp.cpp @@ -875,7 +875,7 @@ namespace SDP{ tConv.clear(); size_t trackID; - for (std::map::iterator it = tracks.begin(); it != tracks.end(); it++) { + for (std::map::iterator it = tracks.begin(); it != tracks.end(); it++) { trackID = myMeta->getID(it->first); INFO_MSG("Removing track %zu:%s", it->first, myMeta->getTrackIdentifier(it->first).c_str()); if (trackID == INVALID_TRACK_ID){ diff --git a/src/input/input_sdp.cpp b/src/input/input_sdp.cpp index 694ccaa0..62c02aef 100644 --- a/src/input/input_sdp.cpp +++ b/src/input/input_sdp.cpp @@ -237,7 +237,7 @@ namespace Mist{ bool receivedPacket = false; // How often to send RTCP receiver requests in seconds const uint32_t rtcpInterval = 7; - for (std::map::iterator it = sdpState.tracks.begin(); + for (std::map::iterator it = sdpState.tracks.begin(); it != sdpState.tracks.end(); ++it){ // Get RTP socket for selected track