summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--enum.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 401d03809d..869bccfe50 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
diff --git a/enum.c b/enum.c
index 5cbd070f14..a3bfd655a1 100644
--- a/enum.c
+++ b/enum.c
@@ -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;