From 749df1d0fd6252b73d0f283feebb597f6f750bdf Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 18 Sep 2006 01:59:00 +0000 Subject: * dir.c (dir_s_glob): remove unused variable. * math.c (math_log): ditto. * re.c (rb_reg_regcomp): ditto. * eval.c (break_jump): ditto. * eval.c (rb_thread_yield_0): remove unused function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- variable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'variable.c') diff --git a/variable.c b/variable.c index 11a3017339..9c51b9d4d5 100644 --- a/variable.c +++ b/variable.c @@ -196,7 +196,7 @@ rb_class_path(VALUE klass) s = rb_class2name(RBASIC(klass)->klass); } } - path = rb_sprintf("#<%s:%p>", s, klass); + path = rb_sprintf("#<%s:%p>", s, (void*)klass); rb_ivar_set(klass, tmp_classpath, path); return path; -- cgit v1.2.3