Code

prepare for the release of rrdtool-1.3.8
[rrdtool-all.git] / program / src / rrd_gfx.c
index fa938617f51ba22d763332829d062fdd20458ddf..bb19776434e0afe5d149909945a89bbf5671ec35 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * RRDtool 1.3.2  Copyright by Tobi Oetiker, 1997-2008
+ * RRDtool 1.3.8  Copyright by Tobi Oetiker, 1997-2009
  ****************************************************************************
  * rrd_gfx.c  graphics wrapper for rrdtool
   **************************************************************************/
@@ -154,7 +154,7 @@ static PangoLayout *gfx_prep_text(
         pango_layout_set_tabs(layout, tab_array);
         pango_tab_array_free(tab_array);
     }
-   pfd = pango_layout_get_font_description(layout);
+   pfd = (PangoFontDescription*)(pango_layout_get_font_description(layout));
 
    if (!pfd || !pango_font_description_equal (pfd,font_desc)){
         pango_layout_set_font_description(layout, font_desc);