From 116d81a67a7c93fbd0041849bc7d1b4a19aa0407 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sun, 22 Sep 2013 11:05:54 +0000 Subject: more cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@6180 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AVS/src/services.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/AVS/src/services.cpp') diff --git a/plugins/AVS/src/services.cpp b/plugins/AVS/src/services.cpp index 7b776bc28f..7eb7c654ea 100644 --- a/plugins/AVS/src/services.cpp +++ b/plugins/AVS/src/services.cpp @@ -73,7 +73,7 @@ struct OpenFileSubclassData { BYTE setView; }; -BOOL CALLBACK OpenFileSubclass(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) +UINT_PTR CALLBACK OpenFileSubclass(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { OpenFileSubclassData *data= (OpenFileSubclassData *)GetWindowLongPtr(hwnd, GWLP_USERDATA); @@ -149,7 +149,7 @@ static INT_PTR avSetAvatar(HANDLE hContact, TCHAR *tszPath) ofn.lpstrDefExt = _T(""); ofn.hInstance = g_hInst; ofn.lpTemplateName = MAKEINTRESOURCE(IDD_OPENSUBCLASS); - ofn.lpfnHook = (LPOFNHOOKPROC)OpenFileSubclass; + ofn.lpfnHook = OpenFileSubclass; locking_request = is_locked; ofn.lCustData = (LPARAM)&locking_request; if (GetOpenFileName(&ofn)) { -- cgit v1.2.3