From: Matthew Fernandez Date: Tue, 19 Jul 2022 02:25:57 +0000 (-0700) Subject: common: remove some unnecessary casts X-Git-Tag: 5.0.1~30^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4c1d6e2ebe57420122afe851cac7c5d059dbb77;p=graphviz common: remove some unnecessary casts --- diff --git a/lib/common/output.c b/lib/common/output.c index 648409c5a..5a488ab92 100644 --- a/lib/common/output.c +++ b/lib/common/output.c @@ -30,13 +30,13 @@ static int (*putstr) (void *chan, const char *str); static void agputs (const char* s, FILE* fp) { - putstr ((void*)fp, s); + putstr(fp, s); } static void agputc (int c, FILE* fp) { static char buf[2] = {'\0','\0'}; buf[0] = c; - putstr ((void*)fp, buf); + putstr(fp, buf); }