[Tile-serving] [openstreetmap/osm2pgsql] Fix undefined behaviour in test (PR #1628)

Jochen Topf notifications at github.com
Thu Jan 27 12:09:56 UTC 2022


Due to unsigned integer underflow.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Revert "Fix signed/unsigned comparison"
  * Return int from the get_count() function

-- File Changes --

    M tests/common-pg.hpp (10)
    M tests/test-output-flex-way-change.cpp (12)
    M tests/test-output-flex-way-del.cpp (10)
    M tests/test-output-gazetteer.cpp (3)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1628
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/1628 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20220127/7f06462d/attachment.htm>


More information about the Tile-serving mailing list