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
|
} else
|
||||||
j = MSVCRT__filbuf(file);
|
j = MSVCRT__filbuf(file);
|
||||||
if (!(MSVCRT_fdesc[file->_file].wxflag & WX_TEXT)
|
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;
|
return j;
|
||||||
} while(1);
|
} while(1);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user