mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix Linux build warning
This commit is contained in:
@@ -686,7 +686,7 @@ QString RimRegularLegendConfig::categoryNameFromCategoryValue(double categoryRes
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
double RimRegularLegendConfig::categoryValueFromCategoryName(const QString& categoryName) const
|
||||
{
|
||||
for (int i = 0; i < m_categoryNames.size(); i++)
|
||||
for (int i = 0; i < (int)m_categoryNames.size(); i++)
|
||||
{
|
||||
if (cvfqt::Utils::toQString(m_categoryNames[i]).compare(categoryName, Qt::CaseInsensitive) == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user