summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5cf9555)
raw | patch | inline | side by side (parent: 5cf9555)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 13 Jun 2005 13:20:45 +0000 (13:20 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 13 Jun 2005 13:20:45 +0000 (13:20 +0000) |
program/src/rrd_gfx.c | patch | blob | history |
diff --git a/program/src/rrd_gfx.c b/program/src/rrd_gfx.c
index 478d70cc60dc5375a2e1f84936d052d59b54a6f7..f4c04efe925073637db6565b5cde07ce9697f3f5 100644 (file)
--- a/program/src/rrd_gfx.c
+++ b/program/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