提交 63a21084 编写于 作者: M Michiharu Ariza

silence MVC warnings 3rd attempt

上级 705dde57
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include "hb-ot-cff1-table.hh" #include "hb-ot-cff1-table.hh"
#include "hb-cff1-interp-cs.hh" #include "hb-cff1-interp-cs.hh"
#include <limits.h>
using namespace CFF; using namespace CFF;
...@@ -165,8 +166,8 @@ struct bounds_t ...@@ -165,8 +166,8 @@ struct bounds_t
{ {
void init () void init ()
{ {
min.set_int (2147483647, 2147483647); min.set_int (INT_MAX, INT_MAX);
max.set_int (-2147483648, -2147483648); max.set_int (INT_MIN, INT_MIN);
} }
void update (const point_t &pt) void update (const point_t &pt)
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include "hb-ot-cff2-table.hh" #include "hb-ot-cff2-table.hh"
#include "hb-cff2-interp-cs.hh" #include "hb-cff2-interp-cs.hh"
#include <limits.h>
using namespace CFF; using namespace CFF;
...@@ -34,10 +35,10 @@ struct extents_param_t ...@@ -34,10 +35,10 @@ struct extents_param_t
void init () void init ()
{ {
path_open = false; path_open = false;
min_x.set_int (2147483647); min_x.set_int (INT_MAX);
min_y.set_int (2147483647); min_y.set_int (INT_MAX);
max_x.set_int (-2147483648); max_x.set_int (INT_MIN);
max_y.set_int (-2147483648); max_y.set_int (INT_MIN);
} }
void start_path () { path_open = true; } void start_path () { path_open = true; }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册