Commit e0f8cafb authored by Don Gagne's avatar Don Gagne

Fix -Wswitch

parent 46b29185
......@@ -431,7 +431,7 @@ void QGCComboBox::comboBoxIndexChanged(QString val)
{
parameterName = comboBoxTextToParamMap.value(ui->editOptionComboBox->currentText());
}
switch (parameterValue.type())
switch (static_cast<int>(parameterValue.type()))
{
case QVariant::Char:
parameterValue = QVariant(QChar((unsigned char)comboBoxTextToValMap[val]));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment