Author: tretiakov
Date: Fri Feb 23 11:20:33 2007
New Revision: 25887
URL:
http://svn.reactos.org/svn/reactos?rev=25887&view=rev
Log:
Fix warnings.
Modified:
trunk/reactos/dll/win32/user32/windows/defwnd.c
Modified: trunk/reactos/dll/win32/user32/windows/defwnd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/d…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/defwnd.c (original)
+++ trunk/reactos/dll/win32/user32/windows/defwnd.c Fri Feb 23 11:20:33 2007
@@ -1537,9 +1537,9 @@
//FIXME: What to do with INPUTLANGCHANGE_SYSCHARSET ?
- if(wParam & INPUTLANGCHANGE_BACKWARD) NewHkl = HKL_PREV;
- else if(wParam & INPUTLANGCHANGE_FORWARD) NewHkl = HKL_NEXT;
- else NewHkl = lParam;
+ if(wParam & INPUTLANGCHANGE_BACKWARD) NewHkl = (HKL) HKL_PREV;
+ else if(wParam & INPUTLANGCHANGE_FORWARD) NewHkl = (HKL) HKL_NEXT;
+ else NewHkl = (HKL) lParam;
NtUserActivateKeyboardLayout(NewHkl, 0);