Skip to content

Commit

Permalink
[tests] Fix OSM unit test on Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
dakcarto committed Oct 16, 2013
1 parent 3b79108 commit 0218f07
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/analysis/testopenstreetmap.cpp
Expand Up @@ -139,8 +139,8 @@ void TestOpenStreetMap::importAndQueries()
// list nodes

QgsOSMNodeIterator nodes = db.listNodes();
QCOMPARE( nodes.next().id(), 11111 );
QCOMPARE( nodes.next().id(), 360769661 );
QCOMPARE( nodes.next().id(), ( qint64 )11111 );
QCOMPARE( nodes.next().id(), ( qint64 )360769661 );
nodes.close();

// query way
Expand All @@ -166,7 +166,7 @@ void TestOpenStreetMap::importAndQueries()
// list ways

QgsOSMWayIterator ways = db.listWays();
QCOMPARE( ways.next().id(), 32137532 );
QCOMPARE( ways.next().id(), ( qint64 )32137532 );
QCOMPARE( ways.next().isValid(), false );
ways.close();

Expand Down

0 comments on commit 0218f07

Please sign in to comment.