From: Matthew Fernandez Date: Sat, 8 May 2021 17:47:31 +0000 (-0700) Subject: more precisely indicate the argument to edgeType is not modified X-Git-Tag: 2.47.2~9^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=488cb227296e6d743ec5e8e2f83c4a9b121843e7;p=graphviz more precisely indicate the argument to edgeType is not modified --- diff --git a/lib/common/utils.c b/lib/common/utils.c index 14583a729..37e1cf370 100644 --- a/lib/common/utils.c +++ b/lib/common/utils.c @@ -1701,7 +1701,7 @@ boolean overlap_edge(edge_t *e, boxf b) /* edgeType: * Convert string to edge type. */ -static int edgeType (char* s, int dflt) +static int edgeType(const char *s, int dflt) { if (s == NULL || strcmp(s, "") == 0) { return dflt;