Fix an endless loop that occurs when the compiler makes enums less than the width of an int.  This occurs with Open Watcom C and gcc with the -fshort-enums option.
Fix an endless loop that occurs when the compiler makes enums less than the
width of an int.  This occurs with Open Watcom C and gcc with the -fshort-enums
option.

libexif/libexif,libexif/libexif,libexif/libexif