diff options
author | George Hazan <george.hazan@gmail.com> | 2015-05-21 09:14:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-05-21 09:14:16 +0000 |
commit | e0dfb094e874c9492640f717edd05064873d5d28 (patch) | |
tree | b2fbe3f77613ba3c5ae0489d3d2399ab2bd9ed6c /protocols/MSN/src/msn_commands.cpp | |
parent | fe2371ce9bc89d4673a46163715268e640d2ce31 (diff) |
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@13728 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_commands.cpp')
-rw-r--r-- | protocols/MSN/src/msn_commands.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/MSN/src/msn_commands.cpp b/protocols/MSN/src/msn_commands.cpp index cb0ad0a302..cddb412fe5 100644 --- a/protocols/MSN/src/msn_commands.cpp +++ b/protocols/MSN/src/msn_commands.cpp @@ -732,7 +732,7 @@ void CMsnProto::MSN_ProcessStatusMessage(ezxml_t xmli, const char* wlid) #endif
}
-void CMsnProto::MSN_ProcessNotificationMessage(char* buf, unsigned len)
+void CMsnProto::MSN_ProcessNotificationMessage(char* buf, size_t len)
{
if (buf == NULL) return;
ezxml_t xmlnot = ezxml_parse_str(buf, len);
@@ -1047,7 +1047,7 @@ LBL_InvalidCommand: MEVENT hDbEvent;
bool bDuplicate = false;
DBEVENTINFO dbei = { sizeof(dbei) };
- DWORD cbBlob = strlen(message);
+ DWORD cbBlob = (DWORD)strlen(message);
dbei.cbBlob = cbBlob;
BYTE *pszMsgBuf = (BYTE*)mir_calloc(cbBlob);
if (pszMsgBuf) {
|