silence MVC warnings 3rd attempt

This commit is contained in:
Michiharu Ariza 2019-04-18 13:54:58 -07:00
parent 705dde57fe
commit 63a2108480
2 changed files with 8 additions and 6 deletions

View File

@ -26,6 +26,7 @@
#include "hb-ot-cff1-table.hh"
#include "hb-cff1-interp-cs.hh"
#include <limits.h>
using namespace CFF;
@ -165,8 +166,8 @@ struct bounds_t
{
void init ()
{
min.set_int (2147483647, 2147483647);
max.set_int (-2147483648, -2147483648);
min.set_int (INT_MAX, INT_MAX);
max.set_int (INT_MIN, INT_MIN);
}
void update (const point_t &pt)

View File

@ -26,6 +26,7 @@
#include "hb-ot-cff2-table.hh"
#include "hb-cff2-interp-cs.hh"
#include <limits.h>
using namespace CFF;
@ -34,10 +35,10 @@ struct extents_param_t
void init ()
{
path_open = false;
min_x.set_int (2147483647);
min_y.set_int (2147483647);
max_x.set_int (-2147483648);
max_y.set_int (-2147483648);
min_x.set_int (INT_MAX);
min_y.set_int (INT_MAX);
max_x.set_int (INT_MIN);
max_y.set_int (INT_MIN);
}
void start_path () { path_open = true; }