fix windows build on x86

This commit is contained in:
Juergen E. Fischer 2019-05-22 09:49:23 +02:00
parent 7df9df03c9
commit b18731bc34

View File

@ -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 ) );