Mercurial > geeqie
changeset 1187:3a27afa693bd
Fix up unsigned expression always true warning.
author | zas_ |
---|---|
date | Thu, 27 Nov 2008 12:34:03 +0000 |
parents | fd7d587199a7 |
children | e3eb00ea097c |
files | src/format_raw.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;