summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-03 12:22:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-09-03 12:22:44 +0000
commit2000173101bfa2a5beadca8d9c77b991354d30e8 (patch)
treee63c55ce4a5233777e7a4c17218e2b0ddbe04f0f /include
parent1f29acae2873b7e6ceecf886ae4b088a197c93bd (diff)
ruby.h: suppress warnings
* include/ruby/ruby.h (rb_float_value): suppress warnings. [ruby-core:47406][Bug #6971] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include')
-rw-r--r--include/ruby/ruby.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ruby/ruby.h b/include/ruby/ruby.h
index b8b2267006..a674de8dc6 100644
--- a/include/ruby/ruby.h
+++ b/include/ruby/ruby.h
@@ -743,7 +743,7 @@ rb_float_value(VALUE v)
/* e: xx1... -> 011... */
/* xx0... -> 100... */
/* ^b63 */
- t.v = RUBY_BIT_ROTR(2 - b63 | (v & ~0x03), 3);
+ t.v = RUBY_BIT_ROTR((2 - b63) | (v & ~0x03), 3);
return t.d;
}
else {