summaryrefslogtreecommitdiff
path: root/pango/pangoxft-render.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-07-22 19:46:09 -0700
committerMatthias Clasen <mclasen@redhat.com>2019-07-25 00:07:04 -0400
commit201afb727c0ca2e428711d25f74d0f0e717da7de (patch)
tree7a076aef3ed0857d708533dbf147df7a5151780f /pango/pangoxft-render.c
parentd24d58bcddd7c73fbeb476a63eba65bf0a3be3bc (diff)
downloadpango-201afb727c0ca2e428711d25f74d0f0e717da7de.tar.gz
xft: Fix compiler warnings
Diffstat (limited to 'pango/pangoxft-render.c')
-rw-r--r--pango/pangoxft-render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pangoxft-render.c b/pango/pangoxft-render.c
index 3e730c63..2e862dd5 100644
--- a/pango/pangoxft-render.c
+++ b/pango/pangoxft-render.c
@@ -185,7 +185,7 @@ flush_glyphs (PangoXftRenderer *xftrenderer)
PANGO_XFT_RENDERER_GET_CLASS (xftrenderer)->composite_glyphs (xftrenderer,
xft_font,
- (XftGlyphSpec *)xftrenderer->priv->glyphs->data,
+ (XftGlyphSpec *)(void*)xftrenderer->priv->glyphs->data,
xftrenderer->priv->glyphs->len);
g_array_set_size (xftrenderer->priv->glyphs, 0);
@@ -527,7 +527,7 @@ flush_trapezoids (PangoXftRenderer *xftrenderer)
PANGO_XFT_RENDERER_GET_CLASS (xftrenderer)->composite_trapezoids (xftrenderer,
xftrenderer->priv->trapezoid_part,
- (XTrapezoid *)xftrenderer->priv->trapezoids->data,
+ (XTrapezoid *)(void *)xftrenderer->priv->trapezoids->data,
xftrenderer->priv->trapezoids->len);
g_array_set_size (xftrenderer->priv->trapezoids, 0);