Skip to content

Commit

Permalink
fix MSVC warning
Browse files Browse the repository at this point in the history
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 5ae03a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterlayer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 5ae03a6

Please sign in to comment.