Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-10-31 14:35:54 +0400
committerCorinna Vinschen <corinna@vinschen.de>2013-10-31 14:35:54 +0400
commita5f316d8cfbd9f2abf018e3fe766a88820492ac1 (patch)
tree77ddef44b6e789a62a14b76490ed90539a03e6aa
parent566fd12b68d5e9db20f2b808249e130782a64997 (diff)
* libc/stdio/fvwrite.h: change type of uio_resid from int to size_t to
fix fwrite() of > 2GByte buffers.
-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;
};