summaryrefslogtreecommitdiff
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 5693aba842..f28a4d9f84 100644
--- a/io.c
+++ b/io.c
@@ -642,7 +642,7 @@ read_all(fptr, siz)
VALUE str;
long bytes = 0;
long n;
- long pos = 0;
+ off_t pos = 0;
if (feof(fptr->f)) return Qnil;
READ_CHECK(fptr->f);