From: oetiker Date: Fri, 10 Jun 2005 19:24:06 +0000 (+0000) Subject: kill another warning X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=83b9700524e1f38b6d87e5d5eab6a8d05e9c8960;p=rrdtool-all.git kill another warning git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@617 a5681a0c-68f1-0310-ab6d-d61299d08faa --- 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);