diff --git a/plug-ins/file-tiff/file-tiff-export.c b/plug-ins/file-tiff/file-tiff-export.c index 6d65a470c3..3f6531ff4d 100644 --- a/plug-ins/file-tiff/file-tiff-export.c +++ b/plug-ins/file-tiff/file-tiff-export.c @@ -148,7 +148,7 @@ save_paths (TIFF *tif, if (tmpname && err == NULL) { - g_string_append_c (data, MIN (len, 255)); + g_string_append_c (data, (gchar) MIN (len, 255)); g_string_append_len (data, tmpname, MIN (len, 255)); g_free (tmpname); }