* libc/stdio/fvwrite.h: change type of uio_resid from int to size_t to

fix fwrite() of > 2GByte buffers.
This commit is contained in:
Corinna Vinschen 2013-10-31 10:35:54 +00:00
parent 566fd12b68
commit a5f316d8cf
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-10-31 Terraneo Federico <fede.tft@hotmail.it>
* libc/stdio/fvwrite.h: change type of uio_resid from int to size_t to
fix fwrite() of > 2GByte buffers.
2013-10-30 Joey Ye <joey.ye@arm.com> 2013-10-30 Joey Ye <joey.ye@arm.com>
Implement malloc_stats for nano. Implement malloc_stats for nano.

View File

@ -28,7 +28,7 @@ struct __siov {
struct __suio { struct __suio {
struct __siov *uio_iov; struct __siov *uio_iov;
int uio_iovcnt; int uio_iovcnt;
int uio_resid; size_t uio_resid;
}; };