From 14710596beb320a69a271287fca25a58900a3a08 Mon Sep 17 00:00:00 2001 From: Jon Beniston Date: Fri, 21 May 2021 10:21:45 +0100 Subject: [PATCH] Fix gcc warning --- sdrbase/dsp/wavfilerecord.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdrbase/dsp/wavfilerecord.cpp b/sdrbase/dsp/wavfilerecord.cpp index c93bf6179..89bb7e114 100644 --- a/sdrbase/dsp/wavfilerecord.cpp +++ b/sdrbase/dsp/wavfilerecord.cpp @@ -174,7 +174,7 @@ bool WavFileRecord::handleMessage(const Message& message) DSPSignalNotification& notif = (DSPSignalNotification&) message; int sampleRate = notif.getSampleRate(); - if ((sampleRate != m_sampleRate) && m_recordOn) { + if ((sampleRate != (int)m_sampleRate) && m_recordOn) { qDebug() << "WavFileRecord::handleMessage: sample rate has changed. Creating a new .wav file"; stopRecording(); m_recordOn = true;