Fixed the internal MakerNote tag structs to use the correct enum type.
authorDan Fandrich <dan@coneharvesters.com>
Fri, 26 May 2017 13:13:14 +0000 (06:13 -0700)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 26 May 2017 13:13:14 +0000 (06:13 -0700)
Patch by Google.

libexif/fuji/mnote-fuji-entry.c
libexif/olympus/mnote-olympus-entry.c
libexif/pentax/mnote-pentax-entry.c

index 0ca1634..0dbea49 100644 (file)
@@ -51,7 +51,7 @@
 }
 
 static const struct {
-       ExifTag tag;
+       MnoteFujiTag tag;
        struct {
                int index;
                const char *string;
index 96c919d..4b45632 100644 (file)
@@ -80,7 +80,7 @@
 #define R2D(n) ((n).denominator ? (double)(n).numerator/(n).denominator : 0.0)
 
 static const struct {
-       ExifTag tag;
+       MnoteOlympusTag tag;
        ExifFormat fmt;
        struct {
                int index;
index 7e97c2c..d03d159 100644 (file)
@@ -66,7 +66,7 @@
 }
 
 static const struct {
-       ExifTag tag;
+       MnotePentaxTag tag;
        struct {
                int index;
                const char *string;
@@ -266,7 +266,7 @@ static const struct {
 
 /* Two-component values */
 static const struct {
-       ExifTag tag;
+       MnotePentaxTag tag;
        struct {
                int index1, index2;
                const char *string;