1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2025-05-28 05:02:25 -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)
{
std::vector<DeviceSet*> deviceSets = MainCore::instance()->getDeviceSets();
if (index < deviceSets.size())
if (index < (int)deviceSets.size())
{
double frequencyInHz;
if (ChannelWebAPIUtils::getCenterFrequency(index, frequencyInHz))