[Tile-serving] [osm2pgsql] use atoll, not atoi, to parse node IDs in nodecachefilereader (#312)
Frederik Ramm
notifications at github.com
Mon Mar 9 19:56:10 UTC 2015
This fixes the problem where nodecachefilereader suffers an integer wraparound if node IDs larger than 2^31-1 are given on command line.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/312
-- Commit Summary --
* use atoll, not atoi, to parse node IDs in nodecachefilereader
-- File Changes --
M node-persistent-cache-reader.cpp (8)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/312.patch
https://github.com/openstreetmap/osm2pgsql/pull/312.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/312
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150309/bea1ddf0/attachment.html>
More information about the Tile-serving
mailing list