[subset] Fix ubsan failure.

This commit is contained in:
Garret Rieger authored and Behdad Esfahbod committed 2023-04-18 13:21:46 -06:00
1 parent 647b024784
commit 19e1b698c5
1 file changed
+1 -1
+1 -1
View File
@@ -327,7 +327,7 @@ struct Glyph
#endif
;
phantoms[PHANTOM_LEFT].x = h_delta;
phantoms[PHANTOM_RIGHT].x = h_adv + h_delta;
phantoms[PHANTOM_RIGHT].x = (int) h_adv + h_delta;
phantoms[PHANTOM_TOP].y = v_orig;
phantoms[PHANTOM_BOTTOM].y = v_orig - (int) v_adv;
}