aboutsummaryrefslogtreecommitdiffstats
path: root/enum.c
diff options
context:
space:
mode:
Diffstat (limited to 'enum.c')
-rw-r--r--enum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enum.c b/enum.c
index 8ae49a94f3..968250c326 100644
--- a/enum.c
+++ b/enum.c
@@ -1491,8 +1491,8 @@ enum_drop(VALUE obj, VALUE n)
{
VALUE args[2];
- args[0] = rb_ary_new2(args[1]);
args[1] = NUM2ULONG(n);
+ args[0] = rb_ary_new2(args[1]);
rb_block_call(obj, id_each, 0, 0, drop_i, (VALUE)args);
return args[0];
}