silence MVC warnings 2nd attempt

This commit is contained in:
Michiharu Ariza 2019-04-18 11:32:10 -07:00
parent dd4c37529b
commit 705dde57fe
2 changed files with 6 additions and 6 deletions

View File

@ -165,8 +165,8 @@ struct bounds_t
{ {
void init () void init ()
{ {
min.set_int ((1<<31)-1, (1<<31)-1); min.set_int (2147483647, 2147483647);
max.set_int (-(1<<31), -(1<<31)); max.set_int (-2147483648, -2147483648);
} }
void update (const point_t &pt) void update (const point_t &pt)

View File

@ -34,10 +34,10 @@ struct extents_param_t
void init () void init ()
{ {
path_open = false; path_open = false;
min_x.set_int ((1<<31)-1); min_x.set_int (2147483647);
min_y.set_int ((1<<31)-1); min_y.set_int (2147483647);
max_x.set_int (-(1<<31)); max_x.set_int (-2147483648);
max_y.set_int (-(1<<31)); max_y.set_int (-2147483648);
} }
void start_path () { path_open = true; } void start_path () { path_open = true; }