Fix gcc warning

pull/907/head
Jon Beniston 2021-05-21 10:21:45 +01:00
rodzic 80fe6cb096
commit 14710596be
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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;