Skip to content
Permalink
Browse files

Fix warning

  • Loading branch information
mhugent committed May 6, 2016
1 parent 11b7a27 commit 0b4961c2248300fbc8917024fd470ef9cea44d52
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/providers/postgres/qgspostgresprovider.cpp
@@ -2376,7 +2376,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 0b4961c

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