1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* enum.c (count_i): modified to shut warning up.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2008-04-11 08:36:47 +00:00
parent f9c5484cc5
commit 3734fd0e79
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Fri Apr 11 17:35:06 2008 Yukihiro Matsumoto <matz@ruby-lang.org>
* enum.c (count_i): modified to shut warning up.
Fri Apr 11 17:25:09 2008 Akinori MUSHA <knu@iDaemons.org>
* enum.c (count_i, count_iter_i, enum_count, enum_find_index):

2
enum.c
View file

@ -81,7 +81,7 @@ enum_grep(VALUE obj, VALUE pat)
}
static VALUE
count_i(VALUE i, VALUE memop)
count_i(VALUE i, VALUE memop, int argc, VALUE *argv)
{
VALUE *memo = (VALUE*)memop;