Skip to content

Commit

Permalink
Cast outline.tags to char * to fix FreeType 2.13.3 build
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Sep 3, 2024
1 parent 36f4608 commit 9549e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/AGG/agg_font_freetype.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ namespace agg
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!
Expand Down

0 comments on commit 9549e45

Please sign in to comment.