Index: src/plugin/PluginUserSettings.cpp |
=================================================================== |
--- a/src/plugin/PluginUserSettings.cpp |
+++ b/src/plugin/PluginUserSettings.cpp |
@@ -86,7 +86,7 @@ |
if (indxMethod == countof(s_Methods)) |
return DISP_E_MEMBERNOTFOUND; |
- *rgdispid = indxMethod; |
+ *rgdispid = static_cast<DISPID>(indxMethod); |
return S_OK; |
} |
@@ -159,7 +159,7 @@ |
std::map<CString, CString> languageList = settings->GetFilterLanguageTitleList(); |
pVarResult->vt = VT_I4; |
- pVarResult->lVal = languageList.size(); |
+ pVarResult->lVal = static_cast<LONG>(languageList.size()); |
} |
} |
else if (s_GetLanguageByIndex == method) |