From: Jan Patera Date: Fri, 27 Jun 2008 11:19:16 +0000 (+0200) Subject: Avoid compiler warning - use the correct type X-Git-Tag: libexif-0_6_21-release~235 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ef8a7fcf30c572b6b9c97a765e7100cdc9485ab2;p=platform%2Fupstream%2Flibexif.git Avoid compiler warning - use the correct type --- diff --git a/libexif/exif-data.c b/libexif/exif-data.c index 15c5d95..2bbbfda 100644 --- a/libexif/exif-data.c +++ b/libexif/exif-data.c @@ -1220,7 +1220,7 @@ fix_func (ExifContent *c, void *UNUSED(data)) "No thumbnail but entries on thumbnail. These entries have been " "removed."); while (c->count) { - int cnt = c->count; + unsigned int cnt = c->count; exif_content_remove_entry (c, c->entries[c->count - 1]); if (cnt == c->count) { /* safety net */