aboutsummaryrefslogtreecommitdiffstats
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
commitd2ec56726f78e624c2e645509bda5d1d9e4d9112 (patch)
tree996557dc54919f67d8c3a8dfcf9f8e64d9f2d163 /time.c
parent703e930e0943ae29344b0dea86ff2c2a42e4c51f (diff)
downloadruby-d2ec56726f78e624c2e645509bda5d1d9e4d9112.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);
}