summaryrefslogtreecommitdiffhomepage
path: root/src/io.c
diff options
context:
space:
mode:
authorTomoyuki Sahara <[email protected]>2015-10-20 15:13:28 +0900
committerTomoyuki Sahara <[email protected]>2015-10-20 15:13:28 +0900
commit78fe65aec4ea08b74b76dc153d1fd10cee13e01e (patch)
tree19123e1e57ed870997e4acbd16c3c76d040c6a8a /src/io.c
parent5fa3c39145d9d8126d0eb9020c6ac660560d32ce (diff)
parent71197d2737aacb3ce824f3e142e7afd8a322cc7d (diff)
downloadmruby-78fe65aec4ea08b74b76dc153d1fd10cee13e01e.tar.gz
mruby-78fe65aec4ea08b74b76dc153d1fd10cee13e01e.zip
Merge branch 'master' of github.com:iij/mruby-io
Diffstat (limited to 'src/io.c')
-rw-r--r--src/io.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/io.c b/src/io.c
index 64403a75a..515c93edb 100644
--- a/src/io.c
+++ b/src/io.c
@@ -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) {