summaryrefslogtreecommitdiff
path: root/pango/pangocairo-render.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pangocairo-render.c')
-rw-r--r--pango/pangocairo-render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocairo-render.c b/pango/pangocairo-render.c
index 26be779c..45ff427e 100644
--- a/pango/pangocairo-render.c
+++ b/pango/pangocairo-render.c
@@ -177,7 +177,7 @@ pango_cairo_renderer_draw_glyphs (PangoRenderer *renderer,
if (!crenderer->do_path)
set_color (crenderer, PANGO_RENDER_PART_FOREGROUND);
- if (!_pango_cairo_font_install (PANGO_CAIRO_FONT (font), crenderer->cr))
+ if (!_pango_cairo_font_install ((PangoCairoFont *) (font), crenderer->cr))
{
for (i = 0; i < glyphs->num_glyphs; i++)
{