summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-29 04:38:37 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-08-29 04:38:37 +0000
commit3bf972993f689965c857540ec1ccc729477e8e66 (patch)
tree26ff043be3572f07427d8d2c5727917543b0ad9f /io.c
parent3badfbf1d51e38785c387ad4fdbbaf2858fc0b4a (diff)
* io.c (read_all): should use off_t instead of long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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);