mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
msvcrt: Remove unneeded cast.
This commit is contained in:
parent
0d6bc9076f
commit
edaa0fbc13
@ -2223,7 +2223,7 @@ int CDECL MSVCRT_fgetc(MSVCRT_FILE* file)
|
||||
} else
|
||||
j = MSVCRT__filbuf(file);
|
||||
if (!(MSVCRT_fdesc[file->_file].wxflag & WX_TEXT)
|
||||
|| ((j != '\r') || (file->_cnt && ((char *)file->_ptr)[0] != '\n')))
|
||||
|| ((j != '\r') || (file->_cnt && file->_ptr[0] != '\n')))
|
||||
return j;
|
||||
} while(1);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user