1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-18 13:48:37 -04:00

Fix gcc warnings

This commit is contained in:
srcejon
2023-11-22 14:40:19 +00:00
parent 7cc9cd1bf1
commit e7076f6a17
4 changed files with 4 additions and 4 deletions
@@ -290,7 +290,7 @@ int AirspyHFInput::getSampleRate() const
}
}
uint32_t AirspyHFInput::getSampleRateFromIndex(int devSampleRateIndex) const
uint32_t AirspyHFInput::getSampleRateFromIndex(quint32 devSampleRateIndex) const
{
if (devSampleRateIndex >= m_sampleRates.size()) {
devSampleRateIndex = m_sampleRates.size() - 1;
@@ -185,7 +185,7 @@ private:
void webapiFormatDeviceReport(SWGSDRangel::SWGDeviceReport& response);
void webapiReverseSendSettings(const QList<QString>& deviceSettingsKeys, const AirspyHFSettings& settings, bool force);
void webapiReverseSendStartStop(bool start);
uint32_t getSampleRateFromIndex(int devSampleRateIndex) const;
uint32_t getSampleRateFromIndex(quint32 devSampleRateIndex) const;
private slots:
void networkManagerFinished(QNetworkReply *reply);
@@ -33,8 +33,8 @@ SDRPlayV3Thread::SDRPlayV3Thread(sdrplay_api_DeviceT* dev, SampleSinkFifo* sampl
m_dev(dev),
m_convertBuffer(SDRPLAYV3_INIT_NBSAMPLES),
m_sampleFifo(sampleFifo),
m_samplerate(2000000),
m_replayBuffer(replayBuffer),
m_samplerate(2000000),
m_log2Decim(0),
m_fcPos(0),
m_iqOrder(true),