summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/passworddialog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-26 17:51:03 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-26 17:51:03 +0000
commit23a378d2ae8b2800a355e37f8bc612aeace26fc9 (patch)
tree93ae9768b704d1e9bfb190077c292d13ae675dde /protocols/Xfire/src/passworddialog.cpp
parentdeb1535897b89ae8981279c5af5479a7b7c17f66 (diff)
fix for 64-bit compilation
git-svn-id: http://svn.miranda-ng.org/main/trunk@2505 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/passworddialog.cpp')
-rw-r--r--protocols/Xfire/src/passworddialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Xfire/src/passworddialog.cpp b/protocols/Xfire/src/passworddialog.cpp
index 7b2202c24f..041b10c584 100644
--- a/protocols/Xfire/src/passworddialog.cpp
+++ b/protocols/Xfire/src/passworddialog.cpp
@@ -6,7 +6,7 @@
static char nick[255];
BOOL usenick=FALSE;
-BOOL CALLBACK DlgPWProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
+LRESULT CALLBACK DlgPWProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
{
static char* pw[255];
switch (msg)
@@ -50,7 +50,7 @@ void ShowPasswordDialog(char*pw,char*mynick) {
else
usenick=FALSE;
- char* npw = (char*)DialogBox(hinstance,MAKEINTRESOURCE(IDD_PWDLG),NULL,DlgPWProc);
+ char* npw = (char*)DialogBox(hinstance,MAKEINTRESOURCE(IDD_PWDLG),NULL,DlgPWProc);
strcpy(pw,npw);
if(mynick)
{