diff --git a/src/hb-ot-var-hvac-table.hh b/src/hb-ot-var-hvac-table.hh index f64894273..3666b0ed6 100644 --- a/src/hb-ot-var-hvac-table.hh +++ b/src/hb-ot-var-hvac-table.hh @@ -56,8 +56,8 @@ struct GlyphVariationDelta if (unlikely (points.length < deltasCount)) return; - const float *x = deltasZ; - const float *y = deltasZ + deltasCount; + const decltype(&deltasZ[0]) x = deltasZ; + const decltype(&deltasZ[0]) y = deltasZ + deltasCount; if (scalar == 1) for (unsigned i = 0; i < deltasCount; i++) {