* include/stdio.h (__mingw_fwrite): Change return value to

size_t.
	* mingwex/mingw-fseek.c (__mingw_fwrite): Likewise.
This commit is contained in:
Danny Smith
2005-03-24 05:58:52 +00:00
parent c6190209b3
commit bc47d398b2
3 changed files with 8 additions and 2 deletions

View File

@ -312,7 +312,7 @@ _CRTIMP void __cdecl rewind (FILE*);
*/
int __cdecl __mingw_fseek (FILE *, long, int);
int __cdecl __mingw_fwrite (const void*, size_t, size_t, FILE*);
size_t __cdecl __mingw_fwrite (const void*, size_t, size_t, FILE*);
#define fseek(fp, offset, whence) __mingw_fseek(fp, offset, whence)
#define fwrite(buffer, size, count, fp) __mingw_fwrite(buffer, size, count, fp)
#endif /* __USE_MINGW_FSEEK */