silence MVC warnings 3rd attempt

pull/1674/head
Michiharu Ariza 6 years ago
parent 705dde57fe
commit 63a2108480
  1. 5
      src/hb-ot-cff1-table.cc
  2. 9
      src/hb-ot-cff2-table.cc

@ -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)

@ -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; }

Loading…
Cancel
Save