aboutsummaryrefslogtreecommitdiffstats
path: root/time.c
diff options
context:
space:
mode:
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);
}