From 3af989edadb2d955e9d8260b55b2249abcaa84ef Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Thu, 28 Jun 2012 18:54:37 +0000 Subject: some signature fixes for 64bit git-svn-id: http://svn.miranda-ng.org/main/trunk@673 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/FileAsMessage/dialog.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/FileAsMessage/dialog.cpp') diff --git a/plugins/FileAsMessage/dialog.cpp b/plugins/FileAsMessage/dialog.cpp index 5f6a6d5afd..f038b87a33 100644 --- a/plugins/FileAsMessage/dialog.cpp +++ b/plugins/FileAsMessage/dialog.cpp @@ -1130,11 +1130,9 @@ LRESULT CALLBACK ProgressWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPa return CallSubclassed(hwnd, uMsg, wParam, lParam); } -LRESULT CALLBACK DialogProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ) +INT_PTR CALLBACK DialogProc( HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam ) { - struct FILEECHO *dat; - - dat = (struct FILEECHO*)GetWindowLongPtr(hDlg, GWLP_USERDATA); + struct FILEECHO *dat = (struct FILEECHO*)GetWindowLongPtr(hDlg, GWLP_USERDATA); switch( uMsg ) { case WM_INITDIALOG: -- cgit v1.2.3