Skip to content

Fix overflow in altitude to fraction conversion

Jens Georg requested to merge wip/45 into master

The fixed denominator of 1000000 in the conversion causes an integer overflow for altitudes > INT_MAX/1000000 meters. Use exiv2's float conversion function to to the conversion to a fraction instead of doing it ourselves.

Fixes #45 (closed)

Merge request reports