From 4a5f215a18e4ea21e363545dbbe7557c8e25e733 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Mon, 18 Jul 2022 20:00:30 -0700 Subject: [PATCH] Pango plugin: remove unnecessary cast --- plugin/pango/gvloadimage_pango.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.40.0