summaryrefslogtreecommitdiff
path: root/class.c
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-22 16:03:59 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-05-22 16:03:59 +0000
commit6f64dbde5e67499b4f8a94673e4d693dcc5efbd1 (patch)
treeae628d669011944d33846c0deb0ed239c07a42fe /class.c
parent7506bf2c3cc1dc1fdd1d043e9f5dc84c76df052b (diff)
* class.c (rb_singleton_class_clone): Pass Qnil, not 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'class.c')
-rw-r--r--class.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/class.c b/class.c
index 38a9be073f..8409f42e3a 100644
--- a/class.c
+++ b/class.c
@@ -159,7 +159,7 @@ VALUE
rb_singleton_class_clone(obj)
VALUE obj;
{
- return singleton_class_clone_int(obj, 0);
+ return singleton_class_clone_int(obj, Qnil);
}
void