1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-06-03 23:42:28 -04:00

Fix gcc warning

This commit is contained in:
Jon Beniston 2021-05-20 20:14:38 +01:00
parent 9ff5710d13
commit 110abe6213

View File

@ -461,7 +461,7 @@ void AntennaToolsGUI::on_dishEfficiency_valueChanged(int value)
double AntennaToolsGUI::getDeviceSetFrequencyMHz(int index) double AntennaToolsGUI::getDeviceSetFrequencyMHz(int index)
{ {
std::vector<DeviceSet*> deviceSets = MainCore::instance()->getDeviceSets(); std::vector<DeviceSet*> deviceSets = MainCore::instance()->getDeviceSets();
if (index < deviceSets.size()) if (index < (int)deviceSets.size())
{ {
double frequencyInHz; double frequencyInHz;
if (ChannelWebAPIUtils::getCenterFrequency(index, frequencyInHz)) if (ChannelWebAPIUtils::getCenterFrequency(index, frequencyInHz))