summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-24 11:56:12 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-12-24 11:56:12 +0000
commit65a884ebad541cadb711f47e5367b461a6428cb1 (patch)
tree996557dc54919f67d8c3a8dfcf9f8e64d9f2d163 /time.c
parente4aac80a71f140eabb0859ed825d78f195279bab (diff)
downloadruby-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.c b/time.c
index 46c15c1de5..0b3832c181 100644
--- a/time.c
+++ b/time.c
@@ -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);
}