From: Matthew Fernandez Date: Sat, 14 Aug 2021 21:09:40 +0000 (-0700) Subject: dot_polygon: take a const pointer for a string that is not modified X-Git-Tag: 2.49.0~9^2~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=790fc9f5f85350466f99ef905d5f5944183ec0c7;p=graphviz dot_polygon: take a const pointer for a string that is not modified --- diff --git a/cmd/gvmap/make_map.c b/cmd/gvmap/make_map.c index 53e9926df..262bc63b6 100644 --- a/cmd/gvmap/make_map.c +++ b/cmd/gvmap/make_map.c @@ -245,7 +245,7 @@ static void plot_dot_labels(FILE *f, int n, int dim, real *x, char **labels, flo } static void dot_polygon(agxbuf *sbuff, int np, float *xp, float *yp, real line_width, - int fill, char *cstring){ + int fill, const char *cstring){ if (np > 0){ if (fill >= 0){