Skip to content

Commit 4140960

Browse files
committed
Fix build warning
1 parent 9c55e45 commit 4140960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analysis/raster/qgsrastercalculator.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ QgsRasterCalculator::Result QgsRasterCalculator::processCalculation( QgsFeedback
140140
std::vector<float> castedResult;
141141
castedResult.reserve( static_cast<size_t>( mNumOutputColumns ) );
142142
auto rowHeight = mOutputRectangle.height() / mNumOutputRows;
143-
for ( size_t row = 0; row < mNumOutputRows; ++row )
143+
for ( size_t row = 0; row < static_cast<size_t>( mNumOutputRows ); ++row )
144144
{
145145
if ( feedback )
146146
{

0 commit comments

Comments
 (0)