OSDN Git Service

Modify type casting of arguments of CCommands::DoSetInputMethodOpenStatus
authorKazuhiro Fujieda <fujieda@users.sourceforge.jp>
Mon, 20 Jun 2011 13:09:57 +0000 (22:09 +0900)
committerKazuhiro Fujieda <fujieda@users.sourceforge.jp>
Mon, 20 Jun 2011 13:09:57 +0000 (22:09 +0900)
in CXkeymacsDll::GetMsgProc.

xkeymacsdll/xkeymacsdll.cpp

index f34f5c0..ae30ac1 100644 (file)
@@ -417,7 +417,7 @@ LRESULT CALLBACK CXkeymacsDll::GetMsgProc(int nCode, WPARAM wParam, LPARAM lPara
        const MSG *msg = reinterpret_cast<MSG *>(lParam);\r
        if (msg->message == g_ImeManipulationMessage) {\r
                if (wParam)\r
-                       CCommands::DoSetInputMethodOpenStatus((INPUT_METHOD_OPEN_STATUS)msg->wParam, msg->lParam);\r
+                       CCommands::DoSetInputMethodOpenStatus(static_cast<INPUT_METHOD_OPEN_STATUS>(msg->wParam), static_cast<BOOL>(msg->lParam));\r
                return 1;\r
        }\r
        switch (msg->message) {\r