[hvgl] Fix warning

This commit is contained in:
Behdad Esfahbod committed 2025-03-02 16:57:54 -07:00
1 parent c8d7a55b14
commit 4857c58ec0
1 file changed
+1 -1
+1 -1
View File
@@ -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);