summaryrefslogtreecommitdiff
path: root/pixman/pixman-glyph.c
diff options
context:
space:
mode:
Diffstat (limited to 'pixman/pixman-glyph.c')
-rw-r--r--pixman/pixman-glyph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pixman/pixman-glyph.c b/pixman/pixman-glyph.c
index 6d2c8bb..022ae6e 100644
--- a/pixman/pixman-glyph.c
+++ b/pixman/pixman-glyph.c
@@ -361,7 +361,7 @@ pixman_glyph_get_mask_format (pixman_glyph_cache_t *cache,
for (i = 0; i < n_glyphs; ++i)
{
- const glyph_t *glyph = glyphs[i].glyph;
+ const glyph_t *glyph = (const glyph_t *)glyphs[i].glyph;
pixman_format_code_t glyph_format = glyph->image->bits.format;
if (PIXMAN_FORMAT_TYPE (glyph_format) == PIXMAN_TYPE_A)