Skip to content

Commit

Permalink
More fixes to compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri0n committed Mar 18, 2024
1 parent 98fa6fa commit 76fd7c5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/avcall/jinglertp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ class JingleRtpPrivate : public QObject {
iceA_status.remotePassword = audioContent->trans.pass;
}

printf("audio candidates=%lld\n", audioContent->trans.candidates.count());
printf("audio candidates=%lld\n", qsizetype(audioContent->trans.candidates.count()));
iceA_status.remoteCandidates += audioContent->trans.candidates;
}
if (videoContent) {
Expand All @@ -610,7 +610,7 @@ class JingleRtpPrivate : public QObject {
iceV_status.remotePassword = videoContent->trans.pass;
}

printf("video candidates=%lld\n", videoContent->trans.candidates.count());
printf("video candidates=%lld\n", qsizetype(videoContent->trans.candidates.count()));
iceV_status.remoteCandidates += videoContent->trans.candidates;
}

Expand Down
2 changes: 1 addition & 1 deletion src/sxe/sxerecord.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ void SxeRecord::processInOrderRecordEdit(const SxeRecordEdit *edit)
if (n < 0)
qDebug("'replacen' = '%s' is negative.", qPrintable(edit->value(SxeRecordEdit::ReplaceN)));
if (from + n > data_.length())
qDebug("from (%d) + n (%d) > data_.length() (%lld).", from, n, data_.length());
qDebug("from (%d) + n (%d) > data_.length() (%lld).", from, n, qsizetype(data_.length()));
}

} else {
Expand Down

0 comments on commit 76fd7c5

Please sign in to comment.