Commit edaa0fbc authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

msvcrt: Remove unneeded cast.

parent 0d6bc907
......@@ -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);
}
......
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