From: Matthew Fernandez Date: Mon, 28 Feb 2022 02:48:29 +0000 (-0800) Subject: pango_textlayout: [nfc] remove an unnecessary 'void*' cast X-Git-Tag: 4.0.0~198^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ccca285c231ec1d8476d3145cde656c7922b9b94;p=graphviz pango_textlayout: [nfc] remove an unnecessary 'void*' cast --- diff --git a/plugin/pango/gvtextlayout_pango.c b/plugin/pango/gvtextlayout_pango.c index 5ac08bfac..3d54670c1 100644 --- a/plugin/pango/gvtextlayout_pango.c +++ b/plugin/pango/gvtextlayout_pango.c @@ -246,7 +246,7 @@ static bool pango_textlayout(textspan_t * span, char **fontpath) #endif layout = pango_layout_new (context); - span->layout = (void *)layout; /* layout free with textspan - see labels.c */ + span->layout = layout; /* layout free with textspan - see labels.c */ span->free_layout = pango_free_layout; /* function for freeing pango layout */ pango_layout_set_text (layout, text, -1);