mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-12 16:23:01 +00:00
silence MVC warnings
This commit is contained in:
parent
518e6e07f2
commit
dd4c37529b
3 changed files with 7 additions and 7 deletions
|
@ -691,7 +691,7 @@ struct opset_t
|
|||
|
||||
case OpCode_TwoByteNegInt0: case OpCode_TwoByteNegInt1:
|
||||
case OpCode_TwoByteNegInt2: case OpCode_TwoByteNegInt3:
|
||||
env.argStack.push_int ((int16_t)(-(op - OpCode_TwoByteNegInt0) * 256 - env.str_ref[0] - 108));
|
||||
env.argStack.push_int ((-(int16_t)(op - OpCode_TwoByteNegInt0) * 256 - env.str_ref[0] - 108));
|
||||
env.str_ref.inc ();
|
||||
break;
|
||||
|
||||
|
|
|
@ -165,8 +165,8 @@ struct bounds_t
|
|||
{
|
||||
void init ()
|
||||
{
|
||||
min.set_int (0x7FFFFFFF, 0x7FFFFFFF);
|
||||
max.set_int (-0x80000000, -0x80000000);
|
||||
min.set_int ((1<<31)-1, (1<<31)-1);
|
||||
max.set_int (-(1<<31), -(1<<31));
|
||||
}
|
||||
|
||||
void update (const point_t &pt)
|
||||
|
|
|
@ -34,10 +34,10 @@ struct extents_param_t
|
|||
void init ()
|
||||
{
|
||||
path_open = false;
|
||||
min_x.set_int (0x7FFFFFFF);
|
||||
min_y.set_int (0x7FFFFFFF);
|
||||
max_x.set_int (-0x80000000);
|
||||
max_y.set_int (-0x80000000);
|
||||
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));
|
||||
}
|
||||
|
||||
void start_path () { path_open = true; }
|
||||
|
|
Loading…
Add table
Reference in a new issue