]> granicus.if.org Git - graphviz/commitdiff
common parse_stlye: use a more appropriate type for counting styles
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 11 Dec 2022 19:32:21 +0000 (11:32 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 14 Dec 2022 01:05:42 +0000 (17:05 -0800)
lib/common/emit.c

index 351f50eae45cb90a4c36ccf176f1f99604b48d1b..cc6a3a41ea4714fcf1f5fb4e030ff8460defb653 100644 (file)
@@ -3810,7 +3810,7 @@ char **parse_style(char *s)
 {
     static char *parse[FUNLIMIT];
     static bool is_first = true;
-    int fun = 0;
+    size_t fun = 0;
     bool in_parens = false;
     char *p;