From a3b5f704e61ec2f8043759f9316e6ebd012c1e1e Mon Sep 17 00:00:00 2001 From: Tristan Matthews <tristan.matthews@savoirfairelinux.com> Date: Thu, 2 Jun 2011 15:21:31 -0400 Subject: [PATCH] * #6009 fixed warnings --- sflphone-common/src/iax/iaxvoiplink.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sflphone-common/src/iax/iaxvoiplink.cpp b/sflphone-common/src/iax/iaxvoiplink.cpp index 21162fa449..08f511dd23 100644 --- a/sflphone-common/src/iax/iaxvoiplink.cpp +++ b/sflphone-common/src/iax/iaxvoiplink.cpp @@ -364,7 +364,7 @@ IAXVoIPLink::sendAudioFromMic (void) nbSampleForRec_ = nbSample_; - if (ac->getClockRate() && (ac->getClockRate() != _mainBufferSampleRate)) { + if (ac->getClockRate() && ((int) ac->getClockRate() != _mainBufferSampleRate)) { // resample nbSample_ = converter->downsampleData (micData , micDataConverted , (int) ac->getClockRate(), _mainBufferSampleRate, nbSample_); @@ -705,7 +705,7 @@ IAXVoIPLink::sendTextMessage (sfl::InstantMessaging *module, std::string -IAXVoIPLink::getCurrentCodecName(const CallID& id) +IAXVoIPLink::getCurrentCodecName(const CallID& /*id*/) { IAXCall *call = NULL; AudioCodec *ac = NULL; @@ -1028,7 +1028,7 @@ IAXVoIPLink::iaxHandleVoiceEvent (iax_event* event, IAXCall* call) // test if resampling is required - if (ac->getClockRate() && (ac->getClockRate() != _mainBufferSampleRate)) { + if (ac->getClockRate() && ((int) ac->getClockRate() != _mainBufferSampleRate)) { // resample nbInt16 = converter->upsampleData (spkrDataDecoded, spkrDataConverted, ac->getClockRate(), _mainBufferSampleRate, nbSample_); -- GitLab