# HG changeset patch # User zas_ # Date 1227789243 0 # Node ID 3a27afa693bd16786af264c87872622568cde539 # Parent fd7d587199a711a19224c95d45cbbce1e39f41cf Fix up unsigned expression always true warning. diff -r fd7d587199a7 -r 3a27afa693bd src/format_raw.c --- a/src/format_raw.c Thu Nov 27 12:33:07 2008 +0000 +++ b/src/format_raw.c Thu Nov 27 12:34:03 2008 +0000 @@ -90,7 +90,7 @@ guint i; if (len < offset + 2) return 0; - if (type < 0 || type > EXIF_FORMAT_COUNT) return 0; + if (type > EXIF_FORMAT_COUNT) return 0; count = exif_byte_get_int16(data + offset, bo); offset += 2;