Navigation Menu

Skip to content

Commit

Permalink
Fix build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Dec 1, 2018
1 parent 6a1a581 commit e01c162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/analysis/raster/qgsrastercalculator.cpp
Expand Up @@ -479,11 +479,11 @@ QgsRasterCalculator::Result QgsRasterCalculator::processCalculationGPU( QgsFeedb

auto kernel = cl::Kernel( program, "rasterCalculator" );

for ( int i = 0; i < inputBuffers.size() ; i++ )
for ( unsigned int i = 0; i < inputBuffers.size() ; i++ )
{
kernel.setArg( i, inputBuffers.at( i ) );
}
kernel.setArg( inputBuffers.size(), resultLineBuffer );
kernel.setArg( static_cast<unsigned int>( inputBuffers.size() ), resultLineBuffer );

QgsOpenClUtils::CPLAllocator<float> resultLine( resultBufferSize );

Expand Down

0 comments on commit e01c162

Please sign in to comment.