From 65a884ebad541cadb711f47e5367b461a6428cb1 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 24 Dec 2016 11:56:12 +0000 Subject: [PATCH] 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 --- time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }