From 76fd7c5079422992182c0cb30b2a010ab47bd66c Mon Sep 17 00:00:00 2001 From: Sergei Ilinykh Date: Mon, 18 Mar 2024 14:15:05 +0300 Subject: [PATCH] More fixes to compilation warnings --- iris | 2 +- src/avcall/jinglertp.cpp | 4 ++-- src/sxe/sxerecord.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/iris b/iris index ff6ced362..6adb78068 160000 --- a/iris +++ b/iris @@ -1 +1 @@ -Subproject commit ff6ced362cb2c5d8320bc44968f3f8f77e09c906 +Subproject commit 6adb7806890bef9182739fdf1a32b75460248151 diff --git a/src/avcall/jinglertp.cpp b/src/avcall/jinglertp.cpp index 4361cc3e1..b6ad00ae3 100644 --- a/src/avcall/jinglertp.cpp +++ b/src/avcall/jinglertp.cpp @@ -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) { @@ -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; } diff --git a/src/sxe/sxerecord.cpp b/src/sxe/sxerecord.cpp index 3ce14d015..a4373cb3d 100644 --- a/src/sxe/sxerecord.cpp +++ b/src/sxe/sxerecord.cpp @@ -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 {