From 9549e4597d1c090a6f58859545868d4750b5d6c4 Mon Sep 17 00:00:00 2001 From: fwcd Date: Tue, 3 Sep 2024 20:57:36 +0200 Subject: [PATCH] Cast outline.tags to char * to fix FreeType 2.13.3 build --- Sources/AGG/agg_font_freetype.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/AGG/agg_font_freetype.cpp b/Sources/AGG/agg_font_freetype.cpp index 0afe9ab8..19f13419 100644 --- a/Sources/AGG/agg_font_freetype.cpp +++ b/Sources/AGG/agg_font_freetype.cpp @@ -179,7 +179,7 @@ namespace agg v_control = v_start; point = outline.points + first; - tags = outline.tags + first; + tags = reinterpret_cast(outline.tags) + first; tag = FT_CURVE_TAG(tags[0]); // A contour cannot start with a cubic control point!