summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-10 16:58:05 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-10 16:58:05 +0000
commit98255a26483a7c70fdd700ac7c41640f709d55e4 (patch)
tree2d2079c3d491aeb416f3c50788ac9e18fedb2c97 /protocols/Skype/src/skype_proto.cpp
parent33953cc6a0fab6a91af293c6838f8a46dd7922da (diff)
more fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@8082 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.cpp')
-rw-r--r--protocols/Skype/src/skype_proto.cpp4
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);