X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd_gfx.c;h=7084720bc259b7bd1884a0e127aeaa651e5cc033;hb=8b72aa265bde592af7e13220a3484c5657d6ffaf;hp=478d70cc60dc5375a2e1f84936d052d59b54a6f7;hpb=62899aa21f4cc8029325c74d2d016d7554590ccb;p=rrdtool.git diff --git a/src/rrd_gfx.c b/src/rrd_gfx.c index 478d70c..7084720 100644 --- a/src/rrd_gfx.c +++ b/src/rrd_gfx.c @@ -1,5 +1,5 @@ /**************************************************************************** - * RRDtool 1.2.9 Copyright by Tobi Oetiker, 1997-2005 + * RRDtool 1.2.11 Copyright by Tobi Oetiker, 1997-2005 **************************************************************************** * rrd_gfx.c graphics wrapper for rrdtool **************************************************************************/ @@ -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