]> granicus.if.org Git - graphviz/commitdiff
more precisely indicate the argument to edgeType is not modified
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 8 May 2021 17:47:31 +0000 (10:47 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 15 May 2021 00:55:36 +0000 (17:55 -0700)
lib/common/utils.c

index 14583a72955e8473da9c6332361c90148ad9a0ed..37e1cf3702f566db4c0282c53f7180b2345a971f 100644 (file)
@@ -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;