From 39c4a49dbfa7fd2e7bce9b7c56c91dceae726542 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 16 Sep 2012 13:04:27 +0000 Subject: n-nope, we shall return 0 git-svn-id: http://svn.miranda-ng.org/main/trunk@1580 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IcqOscarJ/fam_01service.cpp | 2 +- protocols/MRA/MraProto.cpp | 3 ++- protocols/MSN/msn_proto.cpp | 3 ++- protocols/Yahoo/proto.cpp | 4 +++- 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; } //////////////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3