From b12612f525f7b122f3d92a79b220add8aff3241c Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 25 Feb 2025 13:47:06 -0700 Subject: [PATCH] Fix compiler warnings --- src/hb-ot-var-common.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-var-common.hh b/src/hb-ot-var-common.hh index 2e02f9a99..e1e6ce16c 100644 --- a/src/hb-ot-var-common.hh +++ b/src/hb-ot-var-common.hh @@ -629,11 +629,11 @@ struct tuple_delta_t deltas_x.arrayZ[i] = infer_delta ((double) orig_points.arrayZ[i].x, (double) orig_points.arrayZ[prev].x, (double) orig_points.arrayZ[next].x, - deltas_x.arrayZ[prev], deltas_x.arrayZ[next]); + (double) deltas_x.arrayZ[prev], (double) deltas_x.arrayZ[next]); deltas_y.arrayZ[i] = infer_delta ((double) orig_points.arrayZ[i].y, (double) orig_points.arrayZ[prev].y, (double) orig_points.arrayZ[next].y, - deltas_y.arrayZ[prev], deltas_y.arrayZ[next]); + (double) deltas_y.arrayZ[prev], (double) deltas_y.arrayZ[next]); inferred_idxes.add (i); if (--unref_count == 0) goto no_more_gaps; }