Skip to content

Commit 9549e45

Browse files
committed
Cast outline.tags to char * to fix FreeType 2.13.3 build
1 parent 36f4608 commit 9549e45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AGG/agg_font_freetype.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ namespace agg
179179
v_control = v_start;
180180

181181
point = outline.points + first;
182-
tags = outline.tags + first;
182+
tags = reinterpret_cast<char *>(outline.tags) + first;
183183
tag = FT_CURVE_TAG(tags[0]);
184184

185185
// A contour cannot start with a cubic control point!

0 commit comments

Comments
 (0)