Commit 89d91168 authored by Iván Matellanes's avatar Iván Matellanes Committed by Alexandre Julliard

msvcrt: Use correct type for fread and fwrite return values.

parent 20e0a6f2
......@@ -3755,7 +3755,7 @@ int CDECL MSVCRT__flsbuf(int c, MSVCRT_FILE* file)
*/
MSVCRT_size_t CDECL MSVCRT_fwrite(const void *ptr, MSVCRT_size_t size, MSVCRT_size_t nmemb, MSVCRT_FILE* file)
{
int ret;
MSVCRT_size_t ret;
MSVCRT__lock_file(file);
ret = MSVCRT__fwrite_nolock(ptr, size, nmemb, file);
......@@ -4016,7 +4016,7 @@ int CDECL MSVCRT__fputchar(int c)
*/
MSVCRT_size_t CDECL MSVCRT_fread(void *ptr, MSVCRT_size_t size, MSVCRT_size_t nmemb, MSVCRT_FILE* file)
{
int ret;
MSVCRT_size_t ret;
MSVCRT__lock_file(file);
ret = MSVCRT__fread_nolock(ptr, size, nmemb, file);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment