[Tile-serving] [osm2pgsql] Fix three format warnings. (#487)

Landry Breuil notifications at github.com
Fri Oct 30 09:39:10 UTC 2015


node-ram-cache.cpp:372:162: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int64_t {aka long long int}' [-Wformat=]
node-ram-cache.cpp:372:162: warning: format '%zd' expects argument of type 'signed size_t', but argument 5 has type 'long long unsigned int' [-Wformat=]
node-ram-cache.cpp:380:52: warning: format '%li' expects argument of type 'long int', but argument 7 has type 'int64_t {aka long long int}' [-Wformat=]


Found while porting/testing on OpenBSD by patrick keshishian
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/487

-- Commit Summary --

  * Fix three format warnings.

-- File Changes --

    M node-ram-cache.cpp (4)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/487.patch
https://github.com/openstreetmap/osm2pgsql/pull/487.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/487
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20151030/ce0ec0bd/attachment.html>


More information about the Tile-serving mailing list