From 535b7733c38c9e4c75a8ff73f231c8b807194124 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sun, 9 Mar 2014 17:45:14 +0000 Subject: minor cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@8514 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/infopanel.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TabSRMM/src/infopanel.cpp') diff --git a/plugins/TabSRMM/src/infopanel.cpp b/plugins/TabSRMM/src/infopanel.cpp index 464f870051..4ed22119c0 100644 --- a/plugins/TabSRMM/src/infopanel.cpp +++ b/plugins/TabSRMM/src/infopanel.cpp @@ -1476,7 +1476,7 @@ void CTip::registerClass() WNDCLASSEX wc = { 0 }; wc.cbSize = sizeof(wc); wc.lpszClassName = _T("RichEditTipClass"); - wc.lpfnWndProc = (WNDPROC)CTip::WndProcStub; + wc.lpfnWndProc = CTip::WndProcStub; wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.cbWndExtra = sizeof(CTip *); wc.style = CS_GLOBALCLASS | CS_DBLCLKS | CS_PARENTDC; @@ -1515,7 +1515,7 @@ LRESULT CALLBACK CTip::RichEditProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM l * this pointer. */ -INT_PTR CALLBACK CTip::WndProcStub(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) +LRESULT CALLBACK CTip::WndProcStub(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { CTip *tip = reinterpret_cast(::GetWindowLongPtr(hwnd, GWLP_USERDATA)); if (tip) -- cgit v1.2.3