summaryrefslogtreecommitdiffhomepage
path: root/src/io.c
diff options
context:
space:
mode:
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) {