diff --git a/src/agg/src/agg_font_freetype.cpp b/src/agg/src/agg_font_freetype.cpp index e45ac39c..9d255ae6 100644 --- a/src/agg/src/agg_font_freetype.cpp +++ b/src/agg/src/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!