summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8ad6dbc)
raw | patch | inline | side by side (parent: 8ad6dbc)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 8 Nov 2007 10:13:48 +0000 (10:13 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 8 Nov 2007 10:13:48 +0000 (10:13 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@1212 a5681a0c-68f1-0310-ab6d-d61299d08faa
bindings/ruby/main.c | patch | blob | history |
diff --git a/bindings/ruby/main.c b/bindings/ruby/main.c
index f568aa76fbc806b064bbe0ecd7bc9e7697e8b45c..e911d9a15324050202117cb4c1ffce36b01180ea 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));
+ 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);
return result;