diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2018-11-14 09:56:30 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2018-11-14 09:57:05 -0500 |
commit | 48d16c2ab2b181c733accd4fd9730963e59b6323 (patch) | |
tree | 40fbbcebfde3d0f92a6bfb65fa60167e5a640554 | |
parent | 29db2a44a6b7a28ade5e288779dbf5a200b43acd (diff) |
[hmtx] Fix signedness issue
Fixes https://github.com/harfbuzz/harfbuzz/issues/1248#issuecomment-438689499
-rw-r--r-- | src/hb-ot-hmtx-table.hh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hb-ot-hmtx-table.hh b/src/hb-ot-hmtx-table.hh index 20948edb..80994c15 100644 --- a/src/hb-ot-hmtx-table.hh +++ b/src/hb-ot-hmtx-table.hh @@ -289,9 +289,9 @@ struct hmtxvmtx public: bool has_font_extents; - unsigned short ascender; - unsigned short descender; - unsigned short line_gap; + int ascender; + int descender; + int line_gap; protected: unsigned int num_metrics; |