diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-08 10:57:43 +0200 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2009-04-08 10:57:43 +0200 |
commit | f39e2bc128339740591c4d53d30a319841d90df0 (patch) | |
tree | b31c1cb39947bfce32a3c5ffca37f4a7c997f925 | |
parent | 6a03f60cada3c05e65b1fb731a5ff924900baf6a (diff) |
use floats in GIPFEL_FORMAT
-rw-r--r-- | src/ImageMetaData.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ImageMetaData.cxx b/src/ImageMetaData.cxx index b738b4d..a1a4a98 100644 --- a/src/ImageMetaData.cxx +++ b/src/ImageMetaData.cxx @@ -153,11 +153,11 @@ ImageMetaData::load_image_exif(char *name) { } -#define GIPFEL_FORMAT_2 "gipfel: longitude %lf, latitude %lf, height %lf, direction %lf, nick %lf, tilt %lf, focal_length_35mm %lf, projection type %d, k0 %lf, k1 %lf, x0 %lf" +#define GIPFEL_FORMAT_2 "gipfel: longitude %f, latitude %f, height %f, direction %f, nick %f, tilt %f, focal_length_35mm %f, projection type %d, k0 %f, k1 %f, x0 %f" int ImageMetaData::load_image_jpgcom(char *name) { - double lo, la, he, dir, ni, ti, fr, k0, k1, x0 = 0.0; + float lo, la, he, dir, ni, ti, fr, k0, k1, x0 = 0.0; int pt = 0; int n, ret = 1; Exiv2::Image::AutoPtr image; |