aboutsummaryrefslogtreecommitdiff
path: root/winsup/mingw/mingwex
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2005-03-24 05:58:52 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2005-03-24 05:58:52 +0000
commitbc47d398b27f09cbb044dc40e4e9425fb33be7a9 (patch)
tree263d49cc36e98ee7d31c9e2977c3f9a0655dc4d7 /winsup/mingw/mingwex
parentc6190209b38d3867516e01f51cb58073088d3a8b (diff)
downloadnewlib-bc47d398b27f09cbb044dc40e4e9425fb33be7a9.zip
newlib-bc47d398b27f09cbb044dc40e4e9425fb33be7a9.tar.gz
newlib-bc47d398b27f09cbb044dc40e4e9425fb33be7a9.tar.bz2
* include/stdio.h (__mingw_fwrite): Change return value to
size_t. * mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
Diffstat (limited to 'winsup/mingw/mingwex')
-rw-r--r--winsup/mingw/mingwex/mingw-fseek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/mingw/mingwex/mingw-fseek.c b/winsup/mingw/mingwex/mingw-fseek.c
index ebec942..b4f45cc 100644
--- a/winsup/mingw/mingwex/mingw-fseek.c
+++ b/winsup/mingw/mingwex/mingw-fseek.c
@@ -37,7 +37,7 @@ __mingw_fseeko64 (FILE *fp, off64_t offset, int whence)
return fseeko64 (fp, offset, whence);
}
-int
+size_t
__mingw_fwrite (const void *buffer, size_t size, size_t count, FILE *fp)
{
# undef fwrite