From 0533d3318715926a9e7060295d3045ca459aaaeb Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 5 Sep 2020 16:58:17 -0700 Subject: [PATCH] squash a -Wconversion warning in glCompCreateFontFile --- lib/glcomp/glpangofont.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/glcomp/glpangofont.c b/lib/glcomp/glpangofont.c index 57333f26e..0ef5d0eae 100644 --- a/lib/glcomp/glpangofont.c +++ b/lib/glcomp/glpangofont.c @@ -126,7 +126,7 @@ int glCompCreateFontFile(char *fontdescription, int fs, char *fontfile, for (c = 0; c < 256; c++) { counter++; if ((c != 38) && (c != 60) && (c != 128) && (c < 129)) - buf[0] = c; + buf[0] = (char)c; else buf[0] = ' '; cairo_move_to(cr, X, Y); -- 2.40.0