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 8, 2022
1 parent 1d0df14 commit 9480c64
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 9480c64

Please sign in to comment.