diff options
author | Andreas Jaeger <aj@suse.de> | 2004-04-01 04:41:12 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2004-04-01 04:41:12 +0000 |
commit | ccf3ea4334888c441f4b14249444f66fac44709d (patch) | |
tree | 3d492671c447001aa7e26c2c7e17f2f2518923a0 /libio | |
parent | c3d0870737e92eca92e261e97367bca00fdee7a4 (diff) | |
download | glibc-ccf3ea4334888c441f4b14249444f66fac44709d.zip glibc-ccf3ea4334888c441f4b14249444f66fac44709d.tar.gz glibc-ccf3ea4334888c441f4b14249444f66fac44709d.tar.bz2 |
(new_do_write): Return _IO_size_t to make 64-bit clean.
Diffstat (limited to 'libio')
-rw-r--r-- | libio/fileops.c | 4 |
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; |