mirror of https://github.com/freetype/freetype
* src/type1/t1load.c (parse_blend_design_map): Add risky cast.
This commit is contained in:
parent
e834786b34
commit
5b1cde804d
|
@ -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++ )
|
||||
|
|
Loading…
Reference in New Issue