From 09934120a7e3b080f5f79f26da3b3bc2946753ee Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 14 Dec 2014 10:14:51 +0000 Subject: Jabber: warning level 4 git-svn-id: http://svn.miranda-ng.org/main/trunk@11395 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_proto.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/JabberG/src/jabber_proto.cpp') diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp index de98b94710..fc97ad9c79 100644 --- a/protocols/JabberG/src/jabber_proto.cpp +++ b/protocols/JabberG/src/jabber_proto.cpp @@ -843,7 +843,7 @@ int __cdecl CJabberProto::RecvMsg(MCONTACT hContact, PROTORECVEVENT *evt) { ptrA szResUtf(mir_utf8encodeT((LPCTSTR)evt->lParam)); evt->pCustomData = szResUtf; - evt->cbCustomDataSize = mir_strlen(szResUtf); + evt->cbCustomDataSize = (DWORD)mir_strlen(szResUtf); Proto_RecvMessage(hContact, evt); return 0; } @@ -859,7 +859,7 @@ int __cdecl CJabberProto::RecvUrl(MCONTACT, PROTORECVEVENT*) //////////////////////////////////////////////////////////////////////////////////////// // SendContacts -int __cdecl CJabberProto::SendContacts(MCONTACT hContact, int flags, int nContacts, MCONTACT *hContactsList) +int __cdecl CJabberProto::SendContacts(MCONTACT hContact, int, int nContacts, MCONTACT *hContactsList) { if (!m_bJabberOnline) return 0; -- cgit v1.2.3