diff src/format_raw.c @ 1187:3a27afa693bd

Fix up unsigned expression always true warning.
author zas_
date Thu, 27 Nov 2008 12:34:03 +0000
parents 1646720364cf
children 8b89e3ff286b
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;