Avoid compiler warning - use the correct type
authorJan Patera <patera@pictview.com>
Fri, 27 Jun 2008 11:19:16 +0000 (13:19 +0200)
committerJan Patera <patera@pictview.com>
Fri, 27 Jun 2008 11:19:16 +0000 (13:19 +0200)
libexif/exif-data.c

index 15c5d95..2bbbfda 100644 (file)
@@ -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 */