From 4ca8825e02ff8959e3790df2d7818ecfb4134963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Eric=20Janouch?= Date: Sun, 5 Jun 2022 13:29:38 +0200 Subject: Clean up Use gchar when memory is allocated through GLib. --- fiv-jpegcrop.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fiv-jpegcrop.c') diff --git a/fiv-jpegcrop.c b/fiv-jpegcrop.c index 4bbcd97..50828c7 100644 --- a/fiv-jpegcrop.c +++ b/fiv-jpegcrop.c @@ -22,10 +22,10 @@ // --- Utilities --------------------------------------------------------------- -static void exit_fatal(const gchar *format, ...) G_GNUC_PRINTF(1, 2); +static void exit_fatal(const char *format, ...) G_GNUC_PRINTF(1, 2); static void -exit_fatal(const gchar *format, ...) +exit_fatal(const char *format, ...) { va_list ap; va_start(ap, format); @@ -250,7 +250,7 @@ on_motion(G_GNUC_UNUSED GtkWidget *self, GdkEventMotion *event, } static gboolean -open_jpeg(const gchar *data, gsize len, GError **error) +open_jpeg(const char *data, gsize len, GError **error) { tjhandle h = tjInitDecompress(); if (!h) { -- cgit v1.2.3