mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 00:43:09 +00:00
[NOTEPAD] Avoid a cast.
This commit is contained in:
parent
534a309edc
commit
97df61edfa
3 changed files with 8 additions and 7 deletions
|
@ -362,7 +362,7 @@ VOID DoOpenFile(LPCTSTR szFileName)
|
|||
goto done;
|
||||
}
|
||||
|
||||
if (!ReadText(hFile, (LPWSTR *)&pszText, &dwTextLen, (int *)&Globals.encFile, &Globals.iEoln))
|
||||
if (!ReadText(hFile, (LPWSTR *)&pszText, &dwTextLen, &Globals.encFile, &Globals.iEoln))
|
||||
{
|
||||
ShowLastError();
|
||||
goto done;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue