From be2de1fec0e5279a54a16e66cd96cdb620029a30 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Tue, 13 Apr 2021 20:25:58 -0700 Subject: [PATCH] squash a -Wsign-conversion warning --- plugin/core/gvrender_core_fig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/core/gvrender_core_fig.c b/plugin/core/gvrender_core_fig.c index b68364cec..7c946c782 100644 --- a/plugin/core/gvrender_core_fig.c +++ b/plugin/core/gvrender_core_fig.c @@ -55,8 +55,8 @@ static void figptarray(GVJ_t *job, pointf * A, int n, int close) static char *fig_string(char *s) { static char *buf = NULL; - static int bufsize = 0; - int pos = 0; + static size_t bufsize = 0; + size_t pos = 0; char *p; unsigned char c; -- 2.40.0