blob: 043ebf056b2220f50b2cab89c2b5bd4652a21b74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
https://bugs.gentoo.org/937853
--- a/font_freetype/agg_font_freetype.cpp
+++ b/font_freetype/agg_font_freetype.cpp
@@ -186,7 +186,7 @@
v_control = v_start;
point = outline.points + first;
- tags = outline.tags + first;
+ tags = reinterpret_cast<char*>(outline.tags) + first;
tag = FT_CURVE_TAG(tags[0]);
// A contour cannot start with a cubic control point!
|