summaryrefslogtreecommitdiff
path: root/pixman/pixman-glyph.c
diff options
context:
space:
mode:
authorSiarhei Siamashka <siarhei.siamashka@gmail.com>2012-12-20 05:29:30 +0200
committerSiarhei Siamashka <siarhei.siamashka@gmail.com>2012-12-20 05:29:30 +0200
commit69fd5b753f7e6f93922c7c079e01b967dbda3c1a (patch)
tree0d3cccc7cf524374f952181bc0a2e17ed7f2edf2 /pixman/pixman-glyph.c
parent0477ba7457a705b6b668ab497a9a591fd503759a (diff)
Various remaining fixes needed for successful compilation with C++cplusplus-v2
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)