summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 80622d4)
raw | patch | inline | side by side (parent: 80622d4)
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) |
program/src/rrd_gfx.c | patch | blob | history |
diff --git a/program/src/rrd_gfx.c b/program/src/rrd_gfx.c
index a241fc28bc9088dbd0d1e44e8cc5ac08405715df..eb46ba92121f775e487f11533ba86d7d76004694 100644 (file)
--- a/program/src/rrd_gfx.c
+++ b/program/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);