We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent c8c802f commit cc66688Copy full SHA for cc66688
tests/src/analysis/testopenstreetmap.cpp
@@ -139,8 +139,8 @@ void TestOpenStreetMap::importAndQueries()
139
// list nodes
140
141
QgsOSMNodeIterator nodes = db.listNodes();
142
- QCOMPARE( nodes.next().id(), 11111 );
143
- QCOMPARE( nodes.next().id(), 360769661 );
+ QCOMPARE( nodes.next().id(), ( qint64 )11111 );
+ QCOMPARE( nodes.next().id(), ( qint64 )360769661 );
144
nodes.close();
145
146
// query way
@@ -166,7 +166,7 @@ void TestOpenStreetMap::importAndQueries()
166
// list ways
167
168
QgsOSMWayIterator ways = db.listWays();
169
- QCOMPARE( ways.next().id(), 32137532 );
+ QCOMPARE( ways.next().id(), ( qint64 )32137532 );
170
QCOMPARE( ways.next().isValid(), false );
171
ways.close();
172
0 commit comments