From f0d74971aee5ce309bdfa2a4397667f14ee15f42 Mon Sep 17 00:00:00 2001 From: Michiharu Ariza Date: Mon, 17 Sep 2018 12:02:12 -0700 Subject: [PATCH] fix attempt ^2: unuse INT32_MAX/MIN --- src/hb-ot-cff1-table.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hb-ot-cff1-table.cc b/src/hb-ot-cff1-table.cc index 6bd29834f..93fc47cc0 100644 --- a/src/hb-ot-cff1-table.cc +++ b/src/hb-ot-cff1-table.cc @@ -136,10 +136,10 @@ struct ExtentsParam { inline void init (void) { - min_x.set_int (INT32_MAX); - min_y.set_int (INT32_MAX); - max_x.set_int (INT32_MIN); - max_y.set_int (INT32_MIN); + min_x.set_int (0x7FFFFFFF); + min_y.set_int (0x7FFFFFFF); + max_x.set_int (-0x80000000); + max_y.set_int (-0x80000000); } inline void update_bounds (const Point &pt)