summaryrefslogtreecommitdiff
path: root/range.c
diff options
context:
space:
mode:
Diffstat (limited to 'range.c')
-rw-r--r--range.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/range.c b/range.c
index 063da06..4ea1df2 100644
--- a/range.c
+++ b/range.c
@@ -286,7 +286,7 @@ range_step(argc, argv, range)
}
else if (TYPE(b) == T_STRING) {
VALUE args[5];
- long *iter;
+ long iter[2];
args[0] = b; args[1] = e; args[2] = range;
iter[0] = 1; iter[1] = NUM2LONG(step);