From: John Ellson Date: Tue, 22 Dec 2015 18:53:11 +0000 (-0500) Subject: janitor - void return from agxputc() X-Git-Tag: TRAVIS_CI_BUILD_EXPERIMENTAL~82 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=218c2176d46f6fb95456bf92c5a25397150abd10;p=graphviz janitor - void return from agxputc() --- diff --git a/lib/xdot/xdot.c b/lib/xdot/xdot.c index 562f3636c..4c5b8ab0e 100755 --- a/lib/xdot/xdot.c +++ b/lib/xdot/xdot.c @@ -26,7 +26,7 @@ typedef struct { } agxbuf; #define agxbputc(X,C) ((((X)->ptr >= (X)->eptr) ? agxbmore(X,1) : 0), \ - (int)(*(X)->ptr++ = ((unsigned char)C))) + (void)(*(X)->ptr++ = ((unsigned char)C))) #define agxbuse(X) (agxbputc(X,'\0'),(char*)((X)->ptr = (X)->buf)) static void agxbinit(agxbuf * xb, unsigned int hint, unsigned char *init)