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:
parent
9ff5710d13
commit
110abe6213
@ -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))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user