From: Matthew Fernandez Date: Sun, 3 Apr 2022 19:50:25 +0000 (-0700) Subject: GDK plugin writer: remove an unnecessary cast X-Git-Tag: 4.0.0~126^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e4b2e0621d368b948e35b895d6b03fa4a140a78;p=graphviz GDK plugin writer: remove an unnecessary cast --- diff --git a/plugin/gdk/gvdevice_gdk.c b/plugin/gdk/gvdevice_gdk.c index 001bf14dd..0591bbe7a 100644 --- a/plugin/gdk/gvdevice_gdk.c +++ b/plugin/gdk/gvdevice_gdk.c @@ -56,7 +56,7 @@ argb2rgba ( unsigned int width, unsigned int height, char *data) static gboolean writer ( const gchar *buf, gsize count, GError **error, gpointer data) { - return count == gvwrite((GVJ_t *)data, buf, count); + return count == gvwrite(data, buf, count); } static void gdk_format(GVJ_t * job)