summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-31 16:15:02 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-31 16:15:02 +0000
commita25e8e54561c9f18393dfc4c25994d6183c8a278 (patch)
tree30a1a903b6dbac5200b4cdb863023d1883db7d34 /variable.c
parent7cd5949e7cdef29b1e53d302123fb2a9aa750fb6 (diff)
* variable.c (rb_autoload): [ruby-dev:25373]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 7844599..5a3e827 100644
--- a/variable.c
+++ b/variable.c
@@ -1289,7 +1289,7 @@ rb_autoload(mod, id, file)
tbl = check_autoload_table(av);
}
else {
- av = Data_Wrap_Struct(rb_cData, rb_mark_tbl, st_free_table, 0);
+ av = Data_Wrap_Struct(0, rb_mark_tbl, st_free_table, 0);
st_add_direct(tbl, autoload, av);
DATA_PTR(av) = tbl = st_init_numtable();
}