diff options
author | John Ralls <jralls@ceridwen.us> | 2022-11-17 10:49:18 -0800 |
---|---|---|
committer | John Ralls <jralls@ceridwen.us> | 2022-11-17 10:49:18 -0800 |
commit | 21ab756bd92ca3634b11a7028c519b0aece9e2c9 (patch) | |
tree | cfa83cfb30e9fa944d1bc67a064890025559387e /src/cairo-quartz-surface.c | |
parent | 8f1190dc825ad9ca805c39025dcbcb9aed8b496d (diff) | |
download | cairo-21ab756bd92ca3634b11a7028c519b0aece9e2c9.tar.gz |
Pass the same type when creating the static glyphs and positions arrays.
Fixes https://gitlab.freedesktop.org/cairo/cairo/-/issues/574
Diffstat (limited to 'src/cairo-quartz-surface.c')
-rw-r--r-- | src/cairo-quartz-surface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-quartz-surface.c b/src/cairo-quartz-surface.c index 6676dc960..0d4b001a4 100644 --- a/src/cairo-quartz-surface.c +++ b/src/cairo-quartz-surface.c @@ -1904,7 +1904,7 @@ _cairo_quartz_cg_glyphs (const cairo_compositor_t *compositor, cairo_bool_t overlap) { CGAffineTransform textTransform, invTextTransform; - CGGlyph glyphs_static[CAIRO_STACK_ARRAY_LENGTH (CGGlyph)]; + CGGlyph glyphs_static[CAIRO_STACK_ARRAY_LENGTH (CGPoint)]; CGPoint cg_positions_static[CAIRO_STACK_ARRAY_LENGTH (CGPoint)]; CGGlyph *cg_glyphs = &glyphs_static[0]; CGPoint *cg_positions = &cg_positions_static[0]; |