Skip to content

Commit

Permalink
fix windows build on x86
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed May 22, 2019
1 parent 7df9df0 commit b18731b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/gdal/qgsgdalprovider.cpp
Expand Up @@ -883,7 +883,7 @@ bool QgsGdalProvider::readBlock( int bandNo, QgsRectangle const &extent, int pi
if ( _buffer_size != static_cast<qint64>( bufferSize ) )
{
QgsDebugMsg( QStringLiteral( "Integer overflow calculating buffer size on a 32 bit system." ) );
return;
return false;
}
#endif
char *tmpBlock = static_cast<char *>( qgsMalloc( bufferSize ) );
Expand Down

0 comments on commit b18731b

Please sign in to comment.