summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/QuotesProviderFinance.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-08-18 11:48:46 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-08-18 11:48:46 +0000
commit563378c993b1c08a1bbe23e8f6c372c675c38e7a (patch)
tree798ec8ba61d351cd2ebe0e39737848d3b2495f46 /plugins/Quotes/src/QuotesProviderFinance.cpp
parent914f4263b866f546311b4f8e3a95ff816770783f (diff)
- naming conflict;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14986 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/src/QuotesProviderFinance.cpp')
-rw-r--r--plugins/Quotes/src/QuotesProviderFinance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Quotes/src/QuotesProviderFinance.cpp b/plugins/Quotes/src/QuotesProviderFinance.cpp
index 4dac495ff1..a54d597ac1 100644
--- a/plugins/Quotes/src/QuotesProviderFinance.cpp
+++ b/plugins/Quotes/src/QuotesProviderFinance.cpp
@@ -303,7 +303,7 @@ void CQuotesProviderFinance::ShowPropertyPage(WPARAM wp, OPTIONSDIALOGPAGE &odp)
{
odp.pszTemplate = MAKEINTRESOURCEA(IDD_DIALOG_OPT_FINANCE);
odp.pfnDlgProc = GoogleFinanceOptDlgProc;
- odp.dwInitParam = reinterpret_cast<DWORD>(static_cast<CQuotesProviderFinance*>(this));
+ odp.dwInitParam = LPARAM(this);
odp.ptszTab = const_cast<LPTSTR>(GetInfo().m_sName.c_str());
Options_AddPage(wp, &odp);
}