Skip to content

Commit

Permalink
Fix clang warning
Browse files Browse the repository at this point in the history
(cherry picked from commit 9e5cd1f)
  • Loading branch information
nyalldawson committed Dec 8, 2022
1 parent 71c3c36 commit 0a3efbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/raster/qgspalettedrendererwidget.cpp
Expand Up @@ -863,7 +863,7 @@ void QgsPalettedRendererClassGatherer::run()
}
}
i ++;
emit progressChanged( 100 * ( i / static_cast<float>( newClasses.count() ) ) );
emit progressChanged( 100 * ( static_cast< double >( i ) / static_cast<double>( newClasses.count() ) ) );
}
mClasses = newClasses;
}
Expand Down

0 comments on commit 0a3efbb

Please sign in to comment.