diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-24 11:56:12 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-12-24 11:56:12 +0000 |
commit | 65a884ebad541cadb711f47e5367b461a6428cb1 (patch) | |
tree | 996557dc54919f67d8c3a8dfcf9f8e64d9f2d163 /time.c | |
parent | e4aac80a71f140eabb0859ed825d78f195279bab (diff) | |
download | ruby-65a884ebad541cadb711f47e5367b461a6428cb1.tar.gz |
time.c: fix typo in value_insane_p
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -61,7 +61,7 @@ value_insane_p(VALUE x) LPEXCEPTION_POINTERS info; void *failed_address = 0; if (SPECIAL_CONST_P(x)) return 0; - if (!RBASIC_CLASS(x)) return (void *)x; + if (!&RBASIC_CLASS(x)) return (void *)x; __try { RB_GC_GUARD(klass) = RBASIC_CLASS(x); } |