diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-10 16:58:05 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-10 16:58:05 +0000 |
commit | 98255a26483a7c70fdd700ac7c41640f709d55e4 (patch) | |
tree | 2d2079c3d491aeb416f3c50788ac9e18fedb2c97 /protocols/Skype | |
parent | 33953cc6a0fab6a91af293c6838f8a46dd7922da (diff) |
more fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@8082 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype')
-rw-r--r-- | protocols/Skype/src/skype_chat.cpp | 2 | ||||
-rw-r--r-- | protocols/Skype/src/skype_chat.h | 2 | ||||
-rw-r--r-- | protocols/Skype/src/skype_proto.cpp | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Skype/src/skype_chat.cpp b/protocols/Skype/src/skype_chat.cpp index cfc6bb4aab..e0f76365c2 100644 --- a/protocols/Skype/src/skype_chat.cpp +++ b/protocols/Skype/src/skype_chat.cpp @@ -140,7 +140,7 @@ ChatRoom::~ChatRoom() this->members.destroy();
}
-HANDLE ChatRoom::GetContactHandle() const
+HCONTACT ChatRoom::GetContactHandle() const
{
return this->hContact;
}
diff --git a/protocols/Skype/src/skype_chat.h b/protocols/Skype/src/skype_chat.h index eb5e7d432e..e5e775f980 100644 --- a/protocols/Skype/src/skype_chat.h +++ b/protocols/Skype/src/skype_chat.h @@ -158,7 +158,7 @@ public: ChatRoom(const wchar_t *cid, const wchar_t *name, CSkypeProto *ppro);
~ChatRoom();
- HANDLE GetContactHandle() const;
+ HCONTACT GetContactHandle() const;
void SetTopic(const wchar_t *topic);
wchar_t *GetUri();
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp index 01f3f43e23..c1d745185e 100644 --- a/protocols/Skype/src/skype_proto.cpp +++ b/protocols/Skype/src/skype_proto.cpp @@ -80,7 +80,7 @@ int __cdecl CSkypeProto::Authorize(HANDLE hDbEvent) if (this->IsOnline() && hDbEvent)
{
HCONTACT hContact = this->GetContactFromAuthEvent(hDbEvent);
- if (hContact == INVALID_HANDLE_VALUE)
+ if (hContact == (HCONTACT)INVALID_HANDLE_VALUE)
return 1;
return CSkypeProto::GrantAuth((WPARAM)hContact, NULL);
@@ -94,7 +94,7 @@ int __cdecl CSkypeProto::AuthDeny(HANDLE hDbEvent, const TCHAR* szReason) if (this->IsOnline())
{
HCONTACT hContact = this->GetContactFromAuthEvent(hDbEvent);
- if (hContact == INVALID_HANDLE_VALUE)
+ if (hContact == (HCONTACT)INVALID_HANDLE_VALUE)
return 1;
return CSkypeProto::RevokeAuth((WPARAM)hContact, NULL);
|