[cairo] Fix a clang warning

This commit is contained in:
Behdad Esfahbod 2023-05-09 01:42:44 -06:00
parent e2fd49ff1a
commit 9fbab46f26

View file

@ -763,7 +763,7 @@ _hb_cairo_add_sweep_gradient_patches (hb_color_stop_t *stops,
}
//assert (angles[0] + k * span <= 0 && 0 < angles[n_stops - 1] + k * span);
span = fabs (span);
span = fabsf (span);
for (signed l = k; l < 1000; l++)
{