summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: db7f2bc)
raw | patch | inline | side by side (parent: db7f2bc)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 25 Apr 2006 21:00:09 +0000 (21:00 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 25 Apr 2006 21:00:09 +0000 (21:00 +0000) |
program/src/rrd_gfx.c | patch | blob | history |
diff --git a/program/src/rrd_gfx.c b/program/src/rrd_gfx.c
index 38d188ef136bb1096b9076d176ba91466cb2b7af..a71d43a01de5bfe95212b4c435a1383f8ca5f631 100644 (file)
--- a/program/src/rrd_gfx.c
+++ b/program/src/rrd_gfx.c
text_count = mbstowcs(cstr, "Enc-Err", 6);
p = cstr;
#else
- unsigned char *p = text, ch;
+ unsigned char *p = text;
+ unsigned char *cstr;
+ char ch;
if (!p)
return;
#endif
text_count = mbstowcs(cstr, "Enc-Err", 6);
p = cstr;
#else
- unsigned char *p = node->text, ch;
+ const unsigned char *p = node->text;
+ unsigned char ch;
if (!p)
return;
#endif