[CONSOLE.CPL]: Addendum to r74397: Fix a cast.

svn path=/trunk/; revision=74398
This commit is contained in:
Hermès Bélusca-Maïto 2017-04-24 00:32:10 +00:00
parent 34a71f27fc
commit b6f13160b2

View file

@ -170,7 +170,7 @@ AddCodePage(
iItem = 0;
if (iDupItem != CB_ERR)
return;
iItem = (INT)SendMessageW(hWndList, CB_INSERTSTRING, iItem, (LPARAM)CPInfo.CodePageName);
iItem = (UINT)SendMessageW(hWndList, CB_INSERTSTRING, iItem, (LPARAM)CPInfo.CodePageName);
if (iItem != CB_ERR && iItem != CB_ERRSPACE)
iItem = SendMessageW(hWndList, CB_SETITEMDATA, iItem, CodePage);
}