prepare for the release of rrdtool-1.2.10
[rrdtool.git] / src / rrd_gfx.c
index 478d70c..da12554 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * RRDtool 1.2.9  Copyright by Tobi Oetiker, 1997-2005
+ * RRDtool 1.2.10  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