diff --git a/uppsrc/CtrlCore/Win32Wnd.cpp b/uppsrc/CtrlCore/Win32Wnd.cpp index 1e4846313..322ff5aa0 100644 --- a/uppsrc/CtrlCore/Win32Wnd.cpp +++ b/uppsrc/CtrlCore/Win32Wnd.cpp @@ -710,7 +710,7 @@ void Ctrl::sProcessMSG(MSG& msg) { if (msg.message == WM_HOTKEY) { if(msg.wParam >= 0 && (int)msg.wParam < Ctrl::hotkey.GetCount()) - Ctrl::hotkey[msg.wParam](); + Ctrl::hotkey[(int)msg.wParam](); return; } if(msg.message != WM_SYSKEYDOWN && msg.message != WM_SYSKEYUP