Skip to content
Permalink
Browse files

Fix build warnings

  • Loading branch information
elpaso committed Dec 1, 2018
1 parent 6a1a581 commit e01c162fcdff926c07b6061e02f07145de0d496b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/analysis/raster/qgsrastercalculator.cpp
@@ -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 );

0 comments on commit e01c162

Please sign in to comment.
You can’t perform that action at this time.