Fix -Wdouble-promotion warnings

Fixes https://github.com/harfbuzz/harfbuzz/issues/5785
This commit is contained in:
Behdad Esfahbod committed 2026-03-05 01:24:29 -03:00
1 parent 381b5d7cd4
commit 4191cf20c0
1 file changed
+4 -4
+4 -4
View File
@@ -394,10 +394,10 @@ struct vector_output_t : output_options_t<>, view_options_t
if (y2 <= y1)
y2 = y1 + 1;
x1 -= margin.l;
y1 -= margin.t;
x2 += margin.r;
y2 += margin.b;
x1 -= (float) margin.l;
y1 -= (float) margin.t;
x2 += (float) margin.r;
y2 += (float) margin.b;
extents->x = x1;
extents->y = y1;