Fixed compilation warning

This commit is contained in:
Vojtech Bubnik 2021-02-09 14:09:16 +01:00
parent 28d2c122db
commit 820c18923b

View File

@ -1116,7 +1116,7 @@ static wxString get_string_value(std::string opt_key, const DynamicPrintConfig&
out.RemoveLast(1); out.RemoveLast(1);
return out; return out;
} }
if (!strings->empty() && opt_idx < (int)strings->values.size()) if (!strings->empty() && opt_idx < strings->values.size())
return from_u8(strings->get_at(opt_idx)); return from_u8(strings->get_at(opt_idx));
} }
break; break;