From 2f21db032f6975382100ab8190c94953ae0d4f9f Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 2 Jan 2015 15:15:41 +0000 Subject: export crash fix git-svn-id: http://svn.miranda-ng.org/main/trunk@11722 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Quotes/src/ImportExport.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Quotes/src/ImportExport.cpp') 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(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(&ctx), reinterpret_cast(EnumDbModules)); + CallService(MS_DB_MODULES_ENUM, (WPARAM)&ctx, (LPARAM)EnumDbModules); } return pNode; } -- cgit v1.2.3