summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Quotes/src/ImportExport.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Quotes/src/ImportExport.cpp b/plugins/Quotes/src/ImportExport.cpp
index ec5e9d44c3..c0950673fc 100644
--- a/plugins/Quotes/src/ImportExport.cpp
+++ b/plugins/Quotes/src/ImportExport.cpp
@@ -126,9 +126,9 @@ namespace
return 0;
}
- int EnumDbModules(const char* szModuleName, LPARAM lp)
+ int EnumDbModules(const char *szModuleName, DWORD, LPARAM lp)
{
- CEnumContext* ctx = reinterpret_cast<CEnumContext*>(lp);
+ CEnumContext *ctx = (CEnumContext*)lp;
IXMLNode::TXMLNodePtr pXml = ctx->m_pNode;
IXMLNode::TXMLNodePtr pModule = ctx->m_pXmlEngine->CreateNode(g_pszXmlModule, quotes_a2t(szModuleName)/*A2CT(szModuleName)*/);
if (pModule)
@@ -161,7 +161,7 @@ namespace
ctx.m_pNode = pNode;
ctx.m_hContact = hContact;
- CallService(MS_DB_MODULES_ENUM, reinterpret_cast<WPARAM>(&ctx), reinterpret_cast<LPARAM>(EnumDbModules));
+ CallService(MS_DB_MODULES_ENUM, (WPARAM)&ctx, (LPARAM)EnumDbModules);
}
return pNode;
}