From 5b1cde804da66ce0074be7a96dd7732a47972e4a Mon Sep 17 00:00:00 2001 From: Alexei Podtelezhnikov Date: Sat, 11 May 2024 23:27:34 -0400 Subject: [PATCH] * src/type1/t1load.c (parse_blend_design_map): Add risky cast. --- src/type1/t1load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/type1/t1load.c b/src/type1/t1load.c index 7f63898fc..c41348c78 100644 --- a/src/type1/t1load.c +++ b/src/type1/t1load.c @@ -1045,7 +1045,7 @@ /* allocate design map data */ if ( FT_QNEW_ARRAY( map->design_points, num_points * 2 ) ) goto Exit; - map->blend_points = map->design_points + num_points; + map->blend_points = (FT_Fixed*)(map->design_points + num_points); map->num_points = (FT_Byte)num_points; for ( p = 0; p < num_points; p++ )