From: erg Date: Sat, 19 Feb 2011 17:39:49 +0000 (+0000) Subject: Fix warning of pointer type mismatch X-Git-Tag: LAST_LIBGRAPH~32^2~1019 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d560319ab982927976c93f05d735518c261acf5;p=graphviz Fix warning of pointer type mismatch --- diff --git a/lib/cgraph/io.c b/lib/cgraph/io.c index 7ccffe287..51e6bd91d 100644 --- a/lib/cgraph/io.c +++ b/lib/cgraph/io.c @@ -73,7 +73,7 @@ static int iofread(void *chan, char *buf, int bufsize) } /* default IO methods */ -static int ioputstr(void *chan, char *str) +static int ioputstr(void *chan, const char *str) { return fputs(str, (FILE *) chan); }