Skip to content

Commit

Permalink
GSpaceing is a BigInt, which is not always the same as an int and can…
Browse files Browse the repository at this point in the history
… cause an override mismatch.

git-svn-id: https://svn.osgeo.org/gdal/trunk@28217 f0d54148-0727-0410-94bb-9a71ac55c965
  • Loading branch information
schwehr committed Dec 25, 2014
1 parent a145f46 commit 1d629c2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions gdal/frmts/png/pngdataset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,9 @@ class PNGDataset : public GDALPamDataset

virtual CPLErr IRasterIO( GDALRWFlag, int, int, int, int,
void *, int, int, GDALDataType,
int, int *, int, int, int,
int, int *,
GSpacing, GSpacing,
GSpacing,
GDALRasterIOExtraArg* psExtraArg );

// semi-private.
Expand Down Expand Up @@ -488,10 +490,11 @@ static int IsFullBandMap(int *panBandMap, int nBands)

CPLErr PNGDataset::IRasterIO( GDALRWFlag eRWFlag,
int nXOff, int nYOff, int nXSize, int nYSize,
void *pData, int nBufXSize, int nBufYSize,
void *pData, int nBufXSize, int nBufYSize,
GDALDataType eBufType,
int nBandCount, int *panBandMap,
int nPixelSpace, int nLineSpace, int nBandSpace,
int nBandCount, int *panBandMap,
GSpacing nPixelSpace, GSpacing nLineSpace,
GSpacing nBandSpace,
GDALRasterIOExtraArg* psExtraArg )

{
Expand Down

0 comments on commit 1d629c2

Please sign in to comment.