summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-01-02 15:15:41 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-01-02 15:15:41 +0000
commit2f21db032f6975382100ab8190c94953ae0d4f9f (patch)
tree9034e83f402fafd274805245512cbe2479802d88 /plugins
parent409a8d7b54419b779e6140926a31d7e6e1caac24 (diff)
export crash fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@11722 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-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;
}