Skip to content
Permalink
Browse files
Fix warning
  • Loading branch information
mhugent committed Sep 5, 2016
1 parent cbe1b85 commit dbcddc4
Showing 1 changed file with 1 addition and 1 deletion.
@@ -2310,7 +2310,7 @@ void QgsPostgresProvider::appendGeomParam( const QgsGeometry *geom, QStringList
const unsigned char *buf = convertedGeom ? convertedGeom->asWkb() : geom->asWkb();
size_t wkbSize = convertedGeom ? convertedGeom->wkbSize() : geom->wkbSize();

for ( int i = 0; i < wkbSize; ++i )
for ( size_t i = 0; i < wkbSize; ++i )
{
if ( connectionRO()->useWkbHex() )
param += QString( "%1" ).arg(( int ) buf[i], 2, 16, QChar( '0' ) );

0 comments on commit dbcddc4

Please sign in to comment.