From: Matthew Fernandez Date: Sun, 7 Aug 2022 03:34:16 +0000 (-0700) Subject: gvpr: cast values when calling 'endBracket' X-Git-Tag: 5.0.1~15^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c86d17c620b54a26c80b78a75ea03f2cd85720e2;p=graphviz gvpr: cast values when calling 'endBracket' Squashes 2 -Wconversion warnings and we know `c` is a char here. --- diff --git a/lib/gvpr/parse.c b/lib/gvpr/parse.c index f8753e22d..104ffc26d 100644 --- a/lib/gvpr/parse.c +++ b/lib/gvpr/parse.c @@ -302,7 +302,7 @@ static char *parseBracket(Sfio_t * str, agxbuf * buf, int bc, int ec) return 0; } startLine = lineno; - c = endBracket(str, buf, bc, ec); + c = endBracket(str, buf, bc, (char)ec); if (c < 0) { if (!getErrorErrors()) error(ERROR_ERROR,