summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/io.c b/io.c
index 42234bfb6b..38b11abba4 100644
--- a/io.c
+++ b/io.c
@@ -453,13 +453,13 @@ rb_io_to_io(io)
/* reading functions */
-static size_t
+static long
io_fread(ptr, len, f)
char *ptr;
- size_t len;
+ long len;
FILE *f;
{
- size_t n = len;
+ long n = len;
int c;
while (n--) {