Fix warning

c:\projects\harfbuzz\src\hb-ot-color-cbdt-table.hh(59): warning C4146: unary minus operator applied to unsigned type, result still unsigned [C:\projects\harfbuzz\build\harfbuzz.vcxproj]
This commit is contained in:
Behdad Esfahbod 2019-01-28 14:09:59 -05:00
parent 51b584880e
commit 9db7a7da63
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ struct SmallGlyphMetrics
extents->x_bearing = bearingX;
extents->y_bearing = bearingY;
extents->width = width;
extents->height = -height;
extents->height = - (hb_position_t) height;
}
HBUINT8 height;