summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/UI
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/src/UI')
-rw-r--r--protocols/IcqOscarJ/src/UI/askauthentication.cpp2
-rw-r--r--protocols/IcqOscarJ/src/UI/userinfotab.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/UI/askauthentication.cpp b/protocols/IcqOscarJ/src/UI/askauthentication.cpp
index 91fe8e75d2..be0b18af78 100644
--- a/protocols/IcqOscarJ/src/UI/askauthentication.cpp
+++ b/protocols/IcqOscarJ/src/UI/askauthentication.cpp
@@ -90,7 +90,7 @@ static INT_PTR CALLBACK AskAuthProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA
INT_PTR CIcqProto::RequestAuthorization(WPARAM wParam, LPARAM lParam)
{
- AskAuthParam param = { this, (MCONTACT)wParam };
+ AskAuthParam param = { this, wParam };
DialogBoxParam(hInst, MAKEINTRESOURCE(IDD_ASKAUTH), NULL, AskAuthProc, (LPARAM)&param);
return 0;
}
diff --git a/protocols/IcqOscarJ/src/UI/userinfotab.cpp b/protocols/IcqOscarJ/src/UI/userinfotab.cpp
index 793aa0d04d..a70d2d49e5 100644
--- a/protocols/IcqOscarJ/src/UI/userinfotab.cpp
+++ b/protocols/IcqOscarJ/src/UI/userinfotab.cpp
@@ -284,7 +284,7 @@ static INT_PTR CALLBACK IcqDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM
int CIcqProto::OnUserInfoInit(WPARAM wParam, LPARAM lParam)
{
- if ((!IsICQContact((MCONTACT)lParam)) && lParam)
+ if ((!IsICQContact(lParam)) && lParam)
return 0;
OPTIONSDIALOGPAGE odp = { sizeof(odp) };