summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/stdio/fvwrite.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 82e4e0661..09527c92e 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -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>
Implement malloc_stats for nano.
diff --git a/newlib/libc/stdio/fvwrite.h b/newlib/libc/stdio/fvwrite.h
index 848d5b261..5c078fe68 100644
--- a/newlib/libc/stdio/fvwrite.h
+++ b/newlib/libc/stdio/fvwrite.h
@@ -28,7 +28,7 @@ struct __siov {
struct __suio {
struct __siov *uio_iov;
int uio_iovcnt;
- int uio_resid;
+ size_t uio_resid;
};