X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Frrd_gfx.c;h=3335e9133394c60e902258e677a96e09371f7a60;hp=9455d85784802372cc0094bcb45e971b4773faa1;hb=ebb7112c8b334b073c17b5686733cc8470384fae;hpb=8b25b3c0f6a79ce93982c3666525f2db70bf5d53 diff --git a/src/rrd_gfx.c b/src/rrd_gfx.c index 9455d85..3335e91 100644 --- a/src/rrd_gfx.c +++ b/src/rrd_gfx.c @@ -395,7 +395,7 @@ gfx_string gfx_string_create(FT_Face face,const char *text, /* handle the tabs ... have a witespace glyph inserted, but set its width such that the distance of the new right edge is x times tabwidth from 0,0 where x is an integer. */ - char letter = text[n]; + unsigned char letter = text[n]; gottab = 0; if (letter == '\\' && n+1 < string->count && text[n+1] == 't'){ /* we have a tab here so skip the backslash and