From bbad1b8298125d78c159ed7fdd7bde6a3f3fff56 Mon Sep 17 00:00:00 2001 From: Ebrahim Byagowi Date: Tue, 20 Aug 2019 14:46:48 +0430 Subject: [PATCH] [trak] minor, use roundf instead round to normalize the use The change to `round` wasn't intended --- src/hb-aat-layout-trak-table.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-aat-layout-trak-table.hh b/src/hb-aat-layout-trak-table.hh index 7abfc3d..e6b6d55 100644 --- a/src/hb-aat-layout-trak-table.hh +++ b/src/hb-aat-layout-trak-table.hh @@ -126,8 +126,8 @@ struct TrackData if (size_table[size_index].to_float () >= ptem) break; - return round (interpolate_at (size_index ? size_index - 1 : 0, ptem, - *trackTableEntry, base)); + return roundf (interpolate_at (size_index ? size_index - 1 : 0, ptem, + *trackTableEntry, base)); } bool sanitize (hb_sanitize_context_t *c, const void *base) const -- 2.7.4