1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00

bladerf2output: fix warning

format specifies type 'unsigned long' but the argument has type 'uint64_t'
This commit is contained in:
Davide Gerhard 2019-04-15 11:59:46 +02:00
parent 036eda0a92
commit d1d51a5d34
No known key found for this signature in database
GPG Key ID: 7CBEFA144857DC97

View File

@ -50,7 +50,7 @@ BladeRF2OutputGui::BladeRF2OutputGui(DeviceUISet *deviceUISet, QWidget* parent)
ui->setupUi(this); ui->setupUi(this);
m_sampleSink->getFrequencyRange(f_min, f_max, step); m_sampleSink->getFrequencyRange(f_min, f_max, step);
qDebug("BladeRF2OutputGui::BladeRF2OutputGui: getFrequencyRange: [%lu,%lu] step: %d", f_min, f_max, step); qDebug("BladeRF2OutputGui::BladeRF2OutputGui: getFrequencyRange: [%llu,%llu] step: %d", f_min, f_max, step);
ui->centerFrequency->setColorMapper(ColorMapper(ColorMapper::GrayGold)); ui->centerFrequency->setColorMapper(ColorMapper(ColorMapper::GrayGold));
ui->centerFrequency->setValueRange(7, f_min/1000, f_max/1000); ui->centerFrequency->setValueRange(7, f_min/1000, f_max/1000);