mirror of
https://github.com/reactos/reactos.git
synced 2025-04-03 20:21:17 +00:00
[NOTEPAD] Fix a MSVC warning about Globals.encFile (#648)
"...\dialog.c(365) : error C4133: 'function' : incompatible types - from 'ENCODING *' to 'int *'" CORE-7538
This commit is contained in:
parent
e353b48cb2
commit
534a309edc
1 changed files with 1 additions and 1 deletions
|
@ -362,7 +362,7 @@ VOID DoOpenFile(LPCTSTR szFileName)
|
|||
goto done;
|
||||
}
|
||||
|
||||
if (!ReadText(hFile, (LPWSTR *)&pszText, &dwTextLen, &Globals.encFile, &Globals.iEoln))
|
||||
if (!ReadText(hFile, (LPWSTR *)&pszText, &dwTextLen, (int *)&Globals.encFile, &Globals.iEoln))
|
||||
{
|
||||
ShowLastError();
|
||||
goto done;
|
||||
|
|
Loading…
Reference in a new issue