Merge branch 'master' of github.com:iij/mruby-io

This commit is contained in:
Tomoyuki Sahara
2015-10-20 15:13:28 +09:00
4 changed files with 30 additions and 2 deletions
+1 -2
View File
@@ -525,8 +525,7 @@ mrb_value
mrb_io_sysseek(mrb_state *mrb, mrb_value io)
{
struct mrb_io *fptr;
int pos;
mrb_int offset, whence = -1;
mrb_int pos, offset, whence = -1;
mrb_get_args(mrb, "i|i", &offset, &whence);
if (whence < 0) {