summaryrefslogtreecommitdiffstats
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index ff1c74a3e..6e76f23c8 100644
--- a/io.c
+++ b/io.c
@@ -5821,7 +5821,7 @@ argf_init(struct argf *p, VALUE v)
{
p->filename = Qnil;
p->current_file = Qnil;
- p->lineno = Qnil;
+ p->lineno = INT2FIX(0);
p->argv = v;
}