projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41ba7c5
)
Fix up unsigned expression always true warning.
author
Laurent Monin
<geeqie@norz.org>
Thu, 27 Nov 2008 12:34:03 +0000
(12:34 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Thu, 27 Nov 2008 12:34:03 +0000
(12:34 +0000)
src/format_raw.c
patch
|
blob
|
history
diff --git
a/src/format_raw.c
b/src/format_raw.c
index
7ea68c0
..
6fc2652
100644
(file)
--- a/
src/format_raw.c
+++ b/
src/format_raw.c
@@
-90,7
+90,7
@@
static guint tiff_table(guchar *data, const guint len, guint offset, ExifByteOrd
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;