silence MVC warnings 2nd attempt
diff --git a/src/hb-ot-cff1-table.cc b/src/hb-ot-cff1-table.cc
index f62b80e..3b5e594 100644
--- a/src/hb-ot-cff1-table.cc
+++ b/src/hb-ot-cff1-table.cc
@@ -165,8 +165,8 @@
{
void init ()
{
- min.set_int ((1<<31)-1, (1<<31)-1);
- max.set_int (-(1<<31), -(1<<31));
+ min.set_int (2147483647, 2147483647);
+ max.set_int (-2147483648, -2147483648);
}
void update (const point_t &pt)
diff --git a/src/hb-ot-cff2-table.cc b/src/hb-ot-cff2-table.cc
index 11619d7..0f8a16d 100644
--- a/src/hb-ot-cff2-table.cc
+++ b/src/hb-ot-cff2-table.cc
@@ -34,10 +34,10 @@
void init ()
{
path_open = false;
- min_x.set_int ((1<<31)-1);
- min_y.set_int ((1<<31)-1);
- max_x.set_int (-(1<<31));
- max_y.set_int (-(1<<31));
+ min_x.set_int (2147483647);
+ min_y.set_int (2147483647);
+ max_x.set_int (-2147483648);
+ max_y.set_int (-2147483648);
}
void start_path () { path_open = true; }