summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <[email protected]>2016-06-25 10:47:27 +0200
committerDennis Nienhüser <[email protected]>2016-06-25 10:47:27 +0200
commit256c2bc335b3c3d1b810d88204ac8c706ef1b9c4 (patch)
tree6453bc15ac5a59866e1f5af65b5eecccdf50dd77
parent20a75a7b4b1a4336c9e9a813ad61d812091dab61 (diff)
Fix signed/unsigned comparison warning
-rw-r--r--src/plugins/runner/osm/o5mreader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/runner/osm/o5mreader.cpp b/src/plugins/runner/osm/o5mreader.cpp
index 51ede98..92b1348 100644
--- a/src/plugins/runner/osm/o5mreader.cpp
+++ b/src/plugins/runner/osm/o5mreader.cpp
@@ -398,7 +398,7 @@ O5mreaderIterateRet o5mreader_iterateNds(O5mreader *pReader, uint64_t *nodeId) {
);
return O5MREADER_ITERATE_RET_ERR;
}
- if ( ftell(pReader->f) >= pReader->offsetNd ) {
+ if ( ftell(pReader->f) >= long(pReader->offsetNd) ) {
pReader->canIterateNds = 0;
pReader->canIterateTags = 1;
pReader->canIterateRefs = 0;
@@ -456,7 +456,7 @@ O5mreaderIterateRet o5mreader_iterateRefs(O5mreader *pReader, uint64_t *refId, u
);
return O5MREADER_ITERATE_RET_ERR;
}
- if ( ftell(pReader->f) >= pReader->offsetRf ) {
+ if ( ftell(pReader->f) >= long(pReader->offsetRf) ) {
pReader->canIterateNds = 0;
pReader->canIterateTags = 1;
pReader->canIterateRefs = 0;