summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-07-30 22:36:44 +0000
committerRobert Pösel <robyer@seznam.cz>2014-07-30 22:36:44 +0000
commit4c117da80411021cabef4a40ebfaad05c6a7ff8b (patch)
tree0af9bc4aa228f0c15c88be57566a1a3428cb7187
parentee2890358899600ca555787c8e49bcc8a877052a (diff)
Facebook: Old forgotten HANDLE -> MCONTACT change
git-svn-id: http://svn.miranda-ng.org/main/trunk@9998 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/FacebookRM/src/proto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/proto.cpp b/protocols/FacebookRM/src/proto.cpp
index c28f2cec31..a4517e2a24 100644
--- a/protocols/FacebookRM/src/proto.cpp
+++ b/protocols/FacebookRM/src/proto.cpp
@@ -724,7 +724,7 @@ INT_PTR FacebookProto::ApproveFriendship(WPARAM wParam,LPARAM lParam)
if (wParam == NULL || isOffline())
return 1;
- HANDLE *hContact = new HANDLE(reinterpret_cast<HANDLE>(wParam));
+ MCONTACT *hContact = new MCONTACT((MCONTACT)wParam);
ForkThread(&FacebookProto::ApproveContactToServer, hContact);
return 0;
@@ -735,7 +735,7 @@ INT_PTR FacebookProto::OnCancelFriendshipRequest(WPARAM wParam,LPARAM lParam)
if (wParam == NULL || isOffline())
return 1;
- HANDLE *hContact = new HANDLE(reinterpret_cast<HANDLE>(wParam));
+ MCONTACT *hContact = new MCONTACT((MCONTACT)wParam);
ForkThread(&FacebookProto::CancelFriendsRequest, hContact);
return 0;