projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wide chars should better be unsigned
[rrdtool.git]
/
src
/
rrd_gfx.c
diff --git
a/src/rrd_gfx.c
b/src/rrd_gfx.c
index
478d70c
..
f4c04ef
100644
(file)
--- a/
src/rrd_gfx.c
+++ b/
src/rrd_gfx.c
@@
-389,7
+389,7
@@
gfx_string gfx_string_create(gfx_canvas_t *canvas, FT_Face face,const char *text
/* conversion did not work, so lets fall back to just use what we got */
string->count=clen-1;
for(n=0;text[n] != '\0';n++){
- cstr[n]=text[n];
+ cstr[n]=
(unsigned char)
text[n];
}
}
#else