summaryrefslogtreecommitdiff
path: root/plugins/FileAsMessage/dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FileAsMessage/dialog.cpp')
-rw-r--r--plugins/FileAsMessage/dialog.cpp6
1 files changed, 2 insertions, 4 deletions
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: