From 4f38f950b0e4b0637a2a267638496a44456ae456 Mon Sep 17 00:00:00 2001 From: Michael Goddard Date: Tue, 14 Feb 2012 10:56:04 +1000 Subject: Fix some compiler warnings. As it turns out, we had an overloaded virtual from an earlier era, with the extra parameter never used. So cleaning that up was a bonus to remove the compiler warning. Change-Id: I780287f8a5d2b0a1ec84ec62c88ba50e051f372b Reviewed-by: Jonas Rabbe --- src/plugins/pulseaudio/qaudioinput_pulse.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/plugins/pulseaudio') diff --git a/src/plugins/pulseaudio/qaudioinput_pulse.cpp b/src/plugins/pulseaudio/qaudioinput_pulse.cpp index 98925be1d..79d7b7e24 100644 --- a/src/plugins/pulseaudio/qaudioinput_pulse.cpp +++ b/src/plugins/pulseaudio/qaudioinput_pulse.cpp @@ -471,7 +471,7 @@ qint64 QPulseAudioInput::read(char *data, qint64 len) if (m_pullMode) { actualLength = m_audioSource->write(static_cast(audioBuffer), readLength); - if (actualLength < readLength) { + if (actualLength < qint64(readLength)) { pa_threaded_mainloop_unlock(pulseEngine->mainloop()); m_errorState = QAudio::UnderrunError; @@ -489,7 +489,7 @@ qint64 QPulseAudioInput::read(char *data, qint64 len) qDebug() << "QPulseAudioInput::read -- wrote " << actualLength << " to client"; #endif - if (actualLength < readLength) { + if (actualLength < qint64(readLength)) { #ifdef DEBUG_PULSE qDebug() << "QPulseAudioInput::read -- appending " << readLength - actualLength << " bytes of data to temp buffer"; #endif -- cgit v1.2.3