From: Tobias Oetiker Date: Fri, 10 Jun 2005 19:24:06 +0000 (+0000) Subject: kill another warning X-Git-Tag: 1.2.10~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a38d273ba932ef64fa659ef00adfc389fa04d76d;p=thirdparty%2Frrdtool-1.x.git kill another warning git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@617 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_gfx.c b/src/rrd_gfx.c index a241fc28..eb46ba92 100644 --- a/src/rrd_gfx.c +++ b/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);