]> granicus.if.org Git - graphviz/commitdiff
remove use of int as size_t in gprintf
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 24 Feb 2021 03:52:30 +0000 (19:52 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Tue, 2 Mar 2021 06:05:11 +0000 (22:05 -0800)
cmd/lefty/common.c

index 3249b27fa4dca0027cbcf15c0ce932c55e5c7b3e..714f9d854a8f7264238df4a245e09fcbbc80bfb9 100644 (file)
@@ -434,7 +434,7 @@ void panic2 (char *file, int line, char *func, char *fmt, ...) {
 int gprintf (const char *fmt, ...) {
     va_list args;
     char buf[10240];
-    int l;
+    size_t l;
 
     va_start(args, fmt);
     vsprintf (buf, fmt, args);