Fixed a compiler warning in test-fuzzer
authorDan Fandrich <dan@coneharvesters.com>
Fri, 22 Feb 2019 15:51:27 +0000 (16:51 +0100)
committerDan Fandrich <dan@coneharvesters.com>
Fri, 22 Feb 2019 15:51:48 +0000 (16:51 +0100)
test/test-fuzzer.c

index 2af7288..b2d3e94 100644 (file)
@@ -81,7 +81,7 @@ test_exif_data (ExifData *d)
 
        c = exif_mnote_data_count (md);
        for (i = 0; i < c; i++) {
-               char *name = exif_mnote_data_get_name (md, i);
+               const char *name = exif_mnote_data_get_name (md, i);
                if (!name) break;
                fprintf (stdout, "Dumping entry number %i...\n", i);
                fprintf (stdout, "  Name: '%s'\n",