Fix clang-tidy: readability-non-const-parameter (2)
authorColin Clark <[email protected]>
Sat, 3 Feb 2024 18:41:44 +0000 (18:41 +0000)
committerColin Clark <[email protected]>
Sat, 3 Feb 2024 18:41:44 +0000 (18:41 +0000)
src/exif.h

index f32e733f3e86aceb9dc40a828b5073c8f93c30dd..56e4e1b54c89377aaca563fed60df7020e516f7e 100644 (file)
@@ -167,7 +167,7 @@ void exif_set_image_comment(FileData* fd, const gchar* comment);
 
 /*raw support */
 guchar *exif_get_preview(ExifData *exif, guint *data_len, gint requested_width, gint requested_height);
-void exif_free_preview(const guchar *buf);
+void exif_free_preview(guchar *buf);
 
 gchar *metadata_file_info(FileData *fd, const gchar *key, MetadataFormat format);
 gchar *metadata_lua_info(FileData *fd, const gchar *key, MetadataFormat format);