Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix windows build
  • Loading branch information
jef-n committed Aug 1, 2011
1 parent 557a124 commit 678549f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/analysis/raster/qgsrastermatrix.cpp
Expand Up @@ -217,7 +217,7 @@ bool QgsRasterMatrix::oneArgumentOperation( OneArgOperator op )
mData[i] = static_cast<float>( atan( value ) );
break;
case opSIGN:
mData[i] = -value;
mData[i] = static_cast<float>( -value );
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/symbology-ng/qgsfillsymbollayerv2.cpp
Expand Up @@ -437,7 +437,7 @@ void QgsLinePatternFillSymbolLayer::startRender( QgsSymbolV2RenderContext& conte

//find a suitable multiple of width and heigh

QImage patternImage( fabs( width ), height, QImage::Format_ARGB32 );
QImage patternImage( qAbs( width ), height, QImage::Format_ARGB32 );
patternImage.fill( 0 );
QPainter p( &patternImage );
p.setRenderHint( QPainter::Antialiasing, true );
Expand Down

0 comments on commit 678549f

Please sign in to comment.