From 1b6766487486514db8976ef3e8911ad1762e5b99 Mon Sep 17 00:00:00 2001 From: Alexander Regueiro Date: Tue, 10 Sep 2024 14:09:55 +0100 Subject: [PATCH] Fix build in R 4.4.1 (#172) --- src/agg/src/agg_font_freetype.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!