aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2004-04-01 04:41:12 +0000
committerAndreas Jaeger <aj@suse.de>2004-04-01 04:41:12 +0000
commitccf3ea4334888c441f4b14249444f66fac44709d (patch)
tree3d492671c447001aa7e26c2c7e17f2f2518923a0
parentc3d0870737e92eca92e261e97367bca00fdee7a4 (diff)
downloadglibc-ccf3ea4334888c441f4b14249444f66fac44709d.zip
glibc-ccf3ea4334888c441f4b14249444f66fac44709d.tar.gz
glibc-ccf3ea4334888c441f4b14249444f66fac44709d.tar.bz2
(new_do_write): Return _IO_size_t to make 64-bit clean.
-rw-r--r--libio/fileops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libio/fileops.c b/libio/fileops.c
index ca25c98..52cd2d2 100644
--- a/libio/fileops.c
+++ b/libio/fileops.c
@@ -472,7 +472,7 @@ _IO_file_setbuf_mmap (fp, p, len)
return result;
}
-static int new_do_write __P ((_IO_FILE *, const char *, _IO_size_t));
+static _IO_size_t new_do_write __P ((_IO_FILE *, const char *, _IO_size_t));
/* Write TO_DO bytes from DATA to FP.
Then mark FP as having empty buffers. */
@@ -489,7 +489,7 @@ _IO_new_do_write (fp, data, to_do)
INTDEF2(_IO_new_do_write, _IO_do_write)
static
-int
+_IO_size_t
new_do_write (fp, data, to_do)
_IO_FILE *fp;
const char *data;