Skip to content
Permalink
Browse files
fix MSVC warning
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8469 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed May 19, 2008
1 parent 604ba62 commit ac5c66a
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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 ac5c66a

Please sign in to comment.