summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 19510dd)
raw | patch | inline | side by side (parent: 19510dd)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 10 Jun 2005 19:24:06 +0000 (19:24 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Fri, 10 Jun 2005 19:24:06 +0000 (19:24 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@617 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_gfx.c | patch | blob | history |
diff --git a/src/rrd_gfx.c b/src/rrd_gfx.c
index a241fc28bc9088dbd0d1e44e8cc5ac08405715df..eb46ba92121f775e487f11533ba86d7d76004694 100644 (file)
--- a/src/rrd_gfx.c
+++ b/src/rrd_gfx.c
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);