Skip to content

Commit

Permalink
Fix 32-bit compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Thulinma committed Jun 24, 2022
1 parent 9ba9282 commit 1c6a483
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/sdp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,7 @@ namespace SDP{
tConv.clear();
size_t trackID;

for (std::map<long unsigned int, Track>::iterator it = tracks.begin(); it != tracks.end(); it++) {
for (std::map<uint64_t, Track>::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){
Expand Down
2 changes: 1 addition & 1 deletion src/input/input_sdp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<size_t, SDP::Track>::iterator it = sdpState.tracks.begin();
for (std::map<uint64_t, SDP::Track>::iterator it = sdpState.tracks.begin();
it != sdpState.tracks.end(); ++it){

// Get RTP socket for selected track
Expand Down

0 comments on commit 1c6a483

Please sign in to comment.