From 98255a26483a7c70fdd700ac7c41640f709d55e4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Feb 2014 16:58:05 +0000 Subject: more fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@8082 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_chat.cpp | 2 +- protocols/Skype/src/skype_chat.h | 2 +- protocols/Skype/src/skype_proto.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/Skype') 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); -- cgit v1.2.3