summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-12 13:25:03 (GMT)
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-12 13:25:03 (GMT)
commita1d6fba33bf5aab0deea6d4c7eb457ad2b7915f8 (patch)
treece29237535dff6bf79894b94dd90ad94a709ba7f /insns.def
parentc4858f341c076ca43a0c81a7b600290911f25c5b (diff)
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
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/insns.def b/insns.def
index 622f3b0..8f43e55 100644
--- a/insns.def
+++ b/insns.def
@@ -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);
}