* src/type1/t1load.c (parse_blend_design_map): Add risky cast.

This commit is contained in:
Alexei Podtelezhnikov 2024-05-11 23:27:34 -04:00
parent e834786b34
commit 5b1cde804d

View File

@ -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++ )