diff --git a/src/hb-cff2-interp-cs.hh b/src/hb-cff2-interp-cs.hh index 3bc272025..0d8a7043a 100644 --- a/src/hb-cff2-interp-cs.hh +++ b/src/hb-cff2-interp-cs.hh @@ -136,7 +136,7 @@ struct CFF2CSInterpEnv : CSInterpEnv scalars.resize (region_count); varStore->varStore.get_scalars (get_ivs (), (int *)coords, num_coords, - &scalars[0], region_count); + &scalars[static_cast(0)], region_count); } seen_blend = true; }