From: Matthew Fernandez Date: Tue, 19 Jul 2022 03:00:30 +0000 (-0700) Subject: Pango plugin: remove unnecessary cast X-Git-Tag: 5.0.1~30^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a5f215a18e4ea21e363545dbbe7557c8e25e733;p=graphviz Pango plugin: remove unnecessary cast --- diff --git a/plugin/pango/gvloadimage_pango.c b/plugin/pango/gvloadimage_pango.c index 12440b977..6819005f3 100644 --- a/plugin/pango/gvloadimage_pango.c +++ b/plugin/pango/gvloadimage_pango.c @@ -80,7 +80,7 @@ static cairo_surface_t* cairo_loadimage(GVJ_t * job, usershape_t *us) static void pango_loadimage_cairo(GVJ_t * job, usershape_t *us, boxf b, bool filled) { - cairo_t *cr = (cairo_t *) job->context; /* target context */ + cairo_t *cr = job->context; /* target context */ cairo_surface_t *surface; /* source surface */ assert(job);