Skip to content

Commit

Permalink
Fix clang warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 7, 2022
1 parent d0171eb commit 9e5cd1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/raster/qgspalettedrendererwidget.cpp
Expand Up @@ -875,7 +875,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 9e5cd1f

Please sign in to comment.