Skip to content
Permalink
Browse files

fix windows build error

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12812 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Jan 21, 2010
1 parent 594eea5 commit b5e97f58ce09f20f040853db93b741e9409aa5f0
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/core/raster/qgsrasterlayer.cpp
  2. +1 −1 src/core/raster/qgsrasterlayer.h
@@ -5605,7 +5605,7 @@ bool QgsRasterImageBuffer::nextScanLine( QRgb** imageScanLine, void** rasterScan
}
GDALDataType type = GDALGetRasterDataType( mRasterBand );
int size = GDALGetDataTypeSize( type ) / 8;
*rasterScanLine = mCurrentGDALData + mCurrentPartImageRow * mViewPort->drawableAreaXDim * size;
*rasterScanLine = ( unsigned char * )mCurrentGDALData + mCurrentPartImageRow * mViewPort->drawableAreaXDim * size;

++mCurrentPartImageRow;
++mCurrentRow;
@@ -895,7 +895,7 @@ class QPainter;*/
class CORE_EXPORT QgsRasterImageBuffer
{
public:
QgsRasterImageBuffer( GDALRasterBandH rasterBand, QPainter* p, \
QgsRasterImageBuffer( GDALRasterBandH rasterBand, QPainter* p,
QgsRasterViewPort* viewPort, const QgsMapToPixel* mapToPixel, double* mGeoTransform );
~QgsRasterImageBuffer();
void reset( int maxPixelsInVirtualMemory = 5000000 );

0 comments on commit b5e97f5

Please sign in to comment.
You can’t perform that action at this time.