Fix gcc warning

pull/906/head
Jon Beniston 2021-05-20 20:14:38 +01:00
rodzic 9ff5710d13
commit 110abe6213
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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