]> granicus.if.org Git - graphviz/commitdiff
gvpr endString: squash -Wconversion warning
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 7 Aug 2022 03:28:51 +0000 (20:28 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 7 Aug 2022 03:29:12 +0000 (20:29 -0700)
`c` is known to be a character here.

lib/gvpr/parse.c

index ac32185854a93c973d1d7e0c4d05873d4beae094..b065f7ecc6c6589befc70ff779f301df7e685a43 100644 (file)
@@ -251,7 +251,7 @@ static int endString(Sfio_t * ins, agxbuf * outs, char ec)
            lineno++;
        agxbputc(outs, (char) c);
     }
-    agxbputc(outs, c);
+    agxbputc(outs, (char)c);
     return 0;
 }