From: Matthew Fernandez Date: Sat, 5 Sep 2020 23:58:17 +0000 (-0700) Subject: squash a -Wconversion warning in glCompCreateFontFile X-Git-Tag: 2.46.0~20^2^2~86^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0533d3318715926a9e7060295d3045ca459aaaeb;p=graphviz squash a -Wconversion warning in glCompCreateFontFile --- 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);