Stopped printing some values as int in exif_entry_get_value
authorDan Fandrich <dan@coneharvesters.com>
Fri, 12 Jul 2019 16:01:47 +0000 (18:01 +0200)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 12 Jul 2019 16:01:47 +0000 (18:01 +0200)
commit8197bf4a655197c49c0f57ace91d87c4be810e6a
treee66dbdc5357725f1497a1a75c76eceeb04cf251e
parent37a9fd9b5dd0fa3225a22b864dc50e5ea01565d8
Stopped printing some values as int in exif_entry_get_value

By leaving them as double, it avoids undefined behaviour when the values
are out of the range of an int.  This also has the side effect of
rounding some values to the nearest integer, improving display accuracy.
Patch from Google.
libexif/exif-entry.c