diff options
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r-- | protocols/FacebookRM/src/proto.cpp | 4 |
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; |