1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

suppress warning for VC12

It says "warning C4146: unary minus operator applied
to unsigned type, result still unsigned"


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shyouhei 2018-01-12 13:25:03 +00:00
parent c4858f341c
commit a1d6fba33b

View file

@ -610,7 +610,7 @@ adjuststack
(rb_num_t n)
(...)
(...)
// attr rb_snum_t sp_inc = -n;
// attr rb_snum_t sp_inc = -(rb_snum_t)n;
{
DEC_SP(n);
}