1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-02 06:04:39 -04:00

Fix gcc warnings

This commit is contained in:
Jon Beniston
2021-01-13 23:03:55 +00:00
parent 2094a01ae7
commit af7e69c7c1
13 changed files with 26 additions and 17 deletions
+2 -2
View File
@@ -42,7 +42,7 @@ bool FeatureWebAPIUtils::mapFind(const QString& target, int featureSetIndex, int
int httpRC = feature->webapiActionsPost(featureActionKeys, query, errorMessage);
if (httpRC/100 != 2)
{
qWarning("FeatureWebAPIUtils::mapFind: error %d: %s", httpRC, errorMessage);
qWarning() << "FeatureWebAPIUtils::mapFind: error " << httpRC << ":" << errorMessage;
return false;
}
@@ -65,7 +65,7 @@ Feature* FeatureWebAPIUtils::getFeature(int featureSetIndex, int featureIndex, c
if (featureSetIndex != -1)
{
// Find feature with specific index
if (featureSetIndex < featureSets.size())
if (featureSetIndex < (int)featureSets.size())
{
featureSet = featureSets[featureSetIndex];
if (featureIndex < featureSet->getNumberOfFeatures())