diff --git a/bindings/ruby/main.c b/bindings/ruby/main.c
index c5cf79effdfcb7569ea32812ff6e043b477baa27..90f883bc237ecdde64ac1d3c28fa4af695c907e6 100644 (file)
--- a/bindings/ruby/main.c
+++ b/bindings/ruby/main.c
}
free(raw_data);
- result = rb_ary_new2(4);
- rb_ary_store(result, 0, INT2FIX(start));
- rb_ary_store(result, 1, INT2FIX(end));
+ result = rb_ary_new2(5);
+ rb_ary_store(result, 0, INT2NUM(start));
+ rb_ary_store(result, 1, INT2NUM(end));
rb_ary_store(result, 2, names);
rb_ary_store(result, 3, data);
+ rb_ary_store(result, 4, INT2FIX(step));
return result;
}