From d6eee2018898f2442883a0aa77ad095b75572cfb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Aug 2015 15:15:33 +0000 Subject: fix for 64-bit issues & warnings git-svn-id: http://svn.miranda-ng.org/main/trunk@15043 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryStats/src/optionsctrlimpl.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/HistoryStats/src/optionsctrlimpl.cpp') diff --git a/plugins/HistoryStats/src/optionsctrlimpl.cpp b/plugins/HistoryStats/src/optionsctrlimpl.cpp index 71929f166f..2687e385a7 100644 --- a/plugins/HistoryStats/src/optionsctrlimpl.cpp +++ b/plugins/HistoryStats/src/optionsctrlimpl.cpp @@ -25,8 +25,8 @@ LRESULT CALLBACK OptionsCtrlImpl::staticWndProc(HWND hWnd, UINT msg, WPARAM wPar pCS->style |= WS_CHILD; pCS->dwExStyle &= ~(WS_EX_CLIENTEDGE | WS_EX_STATICEDGE | WS_EX_WINDOWEDGE); - pCtrl = new OptionsCtrlImpl(hWnd, reinterpret_cast(pCS->hMenu)); - SetWindowLongPtr(hWnd, 0, reinterpret_cast(pCtrl)); + pCtrl = new OptionsCtrlImpl(hWnd, reinterpret_cast(pCS->hMenu)); + SetWindowLongPtr(hWnd, 0, reinterpret_cast(pCtrl)); } return pCtrl ? TRUE : FALSE; @@ -415,7 +415,7 @@ void OptionsCtrlImpl::unregisterClass() UnregisterClass(m_ClassName, g_hInst); } -OptionsCtrlImpl::OptionsCtrlImpl(HWND hWnd, int nOwnId) : +OptionsCtrlImpl::OptionsCtrlImpl(HWND hWnd, UINT_PTR nOwnId) : m_hWnd(hWnd), m_nOwnId(nOwnId), m_hTree(NULL), m_pfnOldTreeProc(NULL), m_bModified(true), m_hDragItem(NULL) { } -- cgit v1.2.3