From 4857c58ec0046f30b5b4d64b6158d9f09cc111b6 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 25 Jan 2025 11:53:09 -0700 Subject: [PATCH] [hvgl] Fix warning --- src/hb-aat-var-hvgl-table.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-aat-var-hvgl-table.cc b/src/hb-aat-var-hvgl-table.cc index 55e176304..b2cb9f4ec 100644 --- a/src/hb-aat-var-hvgl-table.cc +++ b/src/hb-aat-var-hvgl-table.cc @@ -84,7 +84,7 @@ PartShape::get_path_at (const struct hvgl &hvgl, float coord = _.second; bool pos = coord > 0; if (!coord) continue; - double scalar = (double) fabs(coord); + double scalar = (double) fabsf(coord); unsigned column_idx = axis_index * 2 + pos; const auto delta = deltas.get_column (column_idx, axisCount, segmentCount);