Skip to content
Permalink
Browse files
fix MSVC warning
git-svn-id: http://svn.osgeo.org/qgis/trunk@8469 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed May 19, 2008
1 parent 7447bed commit 5ae03a6dcfc380f91ee24645109994602664e632
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/raster/qgsrasterlayer.h
@@ -532,7 +532,7 @@ class CORE_EXPORT QgsRasterLayer : public QgsMapLayer
/** \brief Wrapper for GDALComputeRasterMinMax with the estimate option */
void computeMinimumMaximumEstimates(int theBand, double* theMinMax)
{
if(0 < theBand && theBand <= getBandCount())
if(0 < theBand && theBand <= (int) getBandCount())
{
GDALRasterBandH myGdalBand = GDALGetRasterBand(mGdalDataset,theBand);
GDALComputeRasterMinMax( myGdalBand, 1, theMinMax );

0 comments on commit 5ae03a6

Please sign in to comment.