From 83b9700524e1f38b6d87e5d5eab6a8d05e9c8960 Mon Sep 17 00:00:00 2001 From: oetiker Date: Fri, 10 Jun 2005 19:24:06 +0000 Subject: [PATCH] kill another warning git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@617 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/src/rrd_gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/src/rrd_gfx.c b/program/src/rrd_gfx.c index a241fc28..eb46ba92 100644 --- a/program/src/rrd_gfx.c +++ b/program/src/rrd_gfx.c @@ -1779,7 +1779,7 @@ static void eps_write_text(eps_state *state, gfx_node_t *node) if (ch > 255) { fputc('?', fp); } else if (ch >= 126 || ch < 32) { - fprintf(fp, "\\%03o", ch); + fprintf(fp, "\\%03o", (unsigned int)ch); lineLen += 3; } else { fputc(ch, fp); -- 2.30.2