]> sourceware.org Git - newlib-cygwin.git/commitdiff
* libc/stdio/fvwrite.h: change type of uio_resid from int to size_t to
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 31 Oct 2013 10:35:54 +0000 (10:35 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 31 Oct 2013 10:35:54 +0000 (10:35 +0000)
fix fwrite() of > 2GByte buffers.

newlib/ChangeLog
newlib/libc/stdio/fvwrite.h

index 82e4e06619effea0299e76d934d4a1329a6c1120..09527c92e9486f6fd210180c65e5bf5d8f03f9ef 100644 (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>
 
        Implement malloc_stats for nano.
index 848d5b2614dec0330b1f9c7443247cde6cb23e3b..5c078fe681edff2ac23a4aa0a897b91ed90f09e7 100644 (file)
@@ -28,7 +28,7 @@ struct __siov {
 struct __suio {
        struct  __siov *uio_iov;
        int     uio_iovcnt;
-       int     uio_resid;
+       size_t  uio_resid;
 };
 
 
This page took 0.059949 seconds and 5 git commands to generate.