diff -ruN a/newlib/libc/stdio/fvwrite.h b/newlib/libc/stdio/fvwrite.h --- a/newlib/libc/stdio/fvwrite.h 2007-03-15 19:40:48.000000000 +0100 +++ b/newlib/libc/stdio/fvwrite.h 2013-10-31 09:33:43.917907668 +0100 @@ -28,7 +28,7 @@ struct __suio { struct __siov *uio_iov; int uio_iovcnt; - int uio_resid; + size_t uio_resid; };