From 3bf972993f689965c857540ec1ccc729477e8e66 Mon Sep 17 00:00:00 2001 From: eban Date: Thu, 29 Aug 2002 04:38:37 +0000 Subject: * 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 --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'io.c') 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); -- cgit v1.2.3