diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-08-29 04:38:37 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-08-29 04:38:37 +0000 |
commit | 3bf972993f689965c857540ec1ccc729477e8e66 (patch) | |
tree | 26ff043be3572f07427d8d2c5727917543b0ad9f /io.c | |
parent | 3badfbf1d51e38785c387ad4fdbbaf2858fc0b4a (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |