Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix clang warnings
  • Loading branch information
nyalldawson committed May 16, 2023
1 parent 27a4336 commit 447d452
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/vectortile/qgsvectortilematrixset.cpp
Expand Up @@ -140,7 +140,7 @@ bool QgsVectorTileMatrixSet::fromEsriJson( const QVariantMap &json, const QVaria
// now we'll zoom back in, checking the tilemap information for each tile as we go
// in order to catch "tile with no children" states
QVariantList node = tileMap;
for ( int index = bottomToTopQueue.size() - 1; index >= 0; --index )
for ( int index = static_cast<int>( bottomToTopQueue.size() ) - 1; index >= 0; --index )
{
const QgsTileXYZ &tile = bottomToTopQueue[ index ];
int childColumn = tile.column() - column;
Expand All @@ -164,7 +164,7 @@ bool QgsVectorTileMatrixSet::fromEsriJson( const QVariantMap &json, const QVaria
else
{
bool ok = false;
const int nodeInt = childNode.toLongLong( &ok );
const long long nodeInt = childNode.toLongLong( &ok );

if ( !ok )
{
Expand Down

0 comments on commit 447d452

Please sign in to comment.