Skip to content

Commit

Permalink
Silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 13, 2022
1 parent 20b7a69 commit 6a54c9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/analysis/processing/qgsoverlayutils.cpp
Expand Up @@ -117,7 +117,7 @@ void QgsOverlayUtils::difference( const QgsFeatureSource &sourceA, const QgsFeat
if ( feedback->isCanceled() )
return false;

feedback->setProgress( static_cast< double >( i * step ) );
feedback->setProgress( static_cast< double >( i ) * step );

return true;
} );
Expand Down Expand Up @@ -251,7 +251,7 @@ void QgsOverlayUtils::intersection( const QgsFeatureSource &sourceA, const QgsFe
if ( feedback->isCanceled() )
return false;

feedback->setProgress( static_cast< double >( i * step ) );
feedback->setProgress( static_cast< double >( i ) * step );

return true;
} );
Expand Down

0 comments on commit 6a54c9a

Please sign in to comment.