diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-03-12 12:17:43 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-03-12 12:17:43 +0000 |
commit | 5aca7788f891521104f8bed712672af236465cc1 (patch) | |
tree | 9ea8115598e2d73f563e2503d0544af62f0d782c /plugins/Quotes/src | |
parent | d8d1baa7d5c286c907d18d278738331debc0aabd (diff) |
SetWindowLongPtr() and GetWindowLongPtr() multiple fixes for x64
git-svn-id: http://svn.miranda-ng.org/main/trunk@8571 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Quotes/src')
-rw-r--r-- | plugins/Quotes/src/QuoteChart.cpp | 2 | ||||
-rw-r--r-- | plugins/Quotes/src/SettingsDlg.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Quotes/src/QuoteChart.cpp b/plugins/Quotes/src/QuoteChart.cpp index 17e304f4dc..a60d5d0a7e 100644 --- a/plugins/Quotes/src/QuoteChart.cpp +++ b/plugins/Quotes/src/QuoteChart.cpp @@ -129,7 +129,7 @@ namespace case WM_DESTROY:
{
TChart* pChart = get_chart_ptr(hWnd);
- ::SetWindowLongPtr(hWnd,GWLP_USERDATA,NULL);
+ ::SetWindowLongPtr(hWnd,GWLP_USERDATA,0);
delete pChart;
}
break;
diff --git a/plugins/Quotes/src/SettingsDlg.cpp b/plugins/Quotes/src/SettingsDlg.cpp index e100401ece..48f190f1c4 100644 --- a/plugins/Quotes/src/SettingsDlg.cpp +++ b/plugins/Quotes/src/SettingsDlg.cpp @@ -566,7 +566,7 @@ namespace update_popup_controls(hWnd);
}
- ::SetWindowLongPtr(hWnd,GWLP_USERDATA,reinterpret_cast<LONG>(pAdvSettings));
+ ::SetWindowLongPtr(hWnd,GWLP_USERDATA,reinterpret_cast<LONG_PTR>(pAdvSettings));
}
return TRUE;
case WM_COMMAND:
|