[cairo] Fix a clang warning

pull/4228/head
Behdad Esfahbod 2 years ago
parent e2fd49ff1a
commit 9fbab46f26
  1. 2
      src/hb-cairo-utils.cc

@ -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++)
{

Loading…
Cancel
Save