diff options
-rw-r--r-- | variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c index 966a7e0df8..f5e6ff194f 100644 --- a/variable.c +++ b/variable.c @@ -193,7 +193,7 @@ rb_class_path(VALUE klass) if (!NIL_P(path)) return path; if (RCLASS_IV_TBL(klass) && st_lookup(RCLASS_IV_TBL(klass), (st_data_t)tmp_classpath, &n)) { - return path; + return (VALUE)n; } else { const char *s = "Class"; |