From: Behdad Esfahbod Date: Thu, 27 Dec 2018 23:27:11 +0000 (-0500) Subject: [aat] Minor X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1043ddbee878a14df0ad8d83fbaa893370ef5a75;p=platform%2Fupstream%2FlibHarfBuzzSharp.git [aat] Minor --- diff --git a/src/hb-aat-layout-morx-table.hh b/src/hb-aat-layout-morx-table.hh index c7600aa..fd955b5 100644 --- a/src/hb-aat-layout-morx-table.hh +++ b/src/hb-aat-layout-morx-table.hh @@ -961,7 +961,7 @@ struct Chain hb_aat_layout_feature_type_t type = (hb_aat_layout_feature_type_t) (unsigned int) feature.featureType; hb_aat_layout_feature_selector_t setting = (hb_aat_layout_feature_selector_t) (unsigned int) feature.featureSetting; retry: - const hb_aat_map_builder_t::feature_info_t *info = map->features.bsearch ((uint16_t) type); + const hb_aat_map_builder_t::feature_info_t *info = map->features.bsearch (type); if (info && info->setting == setting) { flags &= feature.disableFlags; diff --git a/src/hb-aat-map.hh b/src/hb-aat-map.hh index 3853b7e..3d5ad0e 100644 --- a/src/hb-aat-map.hh +++ b/src/hb-aat-map.hh @@ -74,7 +74,7 @@ struct hb_aat_map_builder_t (a->seq < b->seq ? -1 : a->seq > b->seq ? 1 : 0); } - int cmp (unsigned int ty) const + int cmp (hb_aat_layout_feature_type_t ty) const { return (type != ty) ? (type < ty ? -1 : 1) : 0; }