From 607434037199ccca422287e4d097487f17f3cfb5 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 23 Jan 2017 17:55:16 -0800 Subject: [PATCH] [var] Fix bug in HVAR/VVAR impl --- src/hb-ot-var-hvar-table.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-var-hvar-table.hh b/src/hb-ot-var-hvar-table.hh index 9931a5e60..3a2a82037 100644 --- a/src/hb-ot-var-hvar-table.hh +++ b/src/hb-ot-var-hvar-table.hh @@ -71,10 +71,10 @@ struct DeltaSetIndexMap } protected: - inline bool get_width (void) const + inline unsigned int get_width (void) const { return ((format >> 4) & 3) + 1; } - inline bool get_inner_bitcount (void) const + inline unsigned int get_inner_bitcount (void) const { return (format & 0xF) + 1; } protected: