Author: hbelusca
Date: Mon Apr 24 00:32:10 2017
New Revision: 74398
URL:
http://svn.reactos.org/svn/reactos?rev=74398&view=rev
Log:
[CONSOLE.CPL]: Addendum to r74397: Fix a cast.
Modified:
trunk/reactos/dll/cpl/console/options.c
Modified: trunk/reactos/dll/cpl/console/options.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/cpl/console/options.c?…
==============================================================================
--- trunk/reactos/dll/cpl/console/options.c [iso-8859-1] (original)
+++ trunk/reactos/dll/cpl/console/options.c [iso-8859-1] Mon Apr 24 00:32:10 2017
@@ -170,7 +170,7 @@
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);
}