diff options
Diffstat (limited to 'protocols/Skype/src/skype_proto.cpp')
-rw-r--r-- | protocols/Skype/src/skype_proto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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);
|