summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xprotocols/IcqOscarJ/fam_01service.cpp2
-rw-r--r--protocols/MRA/MraProto.cpp3
-rw-r--r--protocols/MSN/msn_proto.cpp3
-rw-r--r--protocols/Yahoo/proto.cpp4
4 files changed, 8 insertions, 4 deletions
diff --git a/protocols/IcqOscarJ/fam_01service.cpp b/protocols/IcqOscarJ/fam_01service.cpp
index a2f4483674..9bc06f19ab 100755
--- a/protocols/IcqOscarJ/fam_01service.cpp
+++ b/protocols/IcqOscarJ/fam_01service.cpp
@@ -684,7 +684,7 @@ void CIcqProto::setUserInfo()
wAdditionalData += 16;
#endif
- wAdditionalData += CustomCapList.size() * 16;
+ wAdditionalData += (WORD)CustomCapList.size() * 16;
//MIM/PackName
bool bHasPackName = false;
diff --git a/protocols/MRA/MraProto.cpp b/protocols/MRA/MraProto.cpp
index 7be880f92f..8f758e9b6b 100644
--- a/protocols/MRA/MraProto.cpp
+++ b/protocols/MRA/MraProto.cpp
@@ -342,7 +342,8 @@ int CMraProto::AuthDeny(HANDLE hDBEvent, const TCHAR* szReason)
int CMraProto::AuthRecv(HANDLE hContact, PROTORECVEVENT* pre)
{
- return Proto_AuthRecv(m_szModuleName, pre);
+ Proto_AuthRecv(m_szModuleName, pre);
+ return 0;
}
int CMraProto::AuthRequest(HANDLE hContact, const TCHAR *lptszMessage)
diff --git a/protocols/MSN/msn_proto.cpp b/protocols/MSN/msn_proto.cpp
index 23abd2cfe6..200b34d3df 100644
--- a/protocols/MSN/msn_proto.cpp
+++ b/protocols/MSN/msn_proto.cpp
@@ -308,7 +308,8 @@ HANDLE __cdecl CMsnProto::AddToListByEvent(int flags, int iContact, HANDLE hDbEv
int CMsnProto::AuthRecv(HANDLE hContact, PROTORECVEVENT* pre)
{
- return Proto_AuthRecv(m_szModuleName, pre);
+ Proto_AuthRecv(m_szModuleName, pre);
+ return 0;
}
////////////////////////////////////////////////////////////////////////////////////////
diff --git a/protocols/Yahoo/proto.cpp b/protocols/Yahoo/proto.cpp
index e73af363c8..dc14b4538e 100644
--- a/protocols/Yahoo/proto.cpp
+++ b/protocols/Yahoo/proto.cpp
@@ -290,7 +290,9 @@ int __cdecl CYahooProto::AuthRecv(HANDLE hContact, PROTORECVEVENT* pre)
{
DebugLog("[YahooRecvAuth] ");
DBDeleteContactSetting(hContact,"CList","Hidden");
- return Proto_AuthRecv(m_szModuleName, pre);
+
+ Proto_AuthRecv(m_szModuleName, pre);
+ return 0;
}
////////////////////////////////////////////////////////////////////////////////////////