diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-28 10:38:16 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-28 10:38:16 +0000 |
commit | 6c7c1bdcfd6c306a900c92ea0c2eca75fc662052 (patch) | |
tree | 10b82152117894da40d426434d7f38d87125a1d6 /protocols/Skype/src/skype_proto.cpp | |
parent | 5cf06122b92f89b3937c74e065e6a47067663563 (diff) |
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@4557 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_proto.cpp')
-rw-r--r-- | protocols/Skype/src/skype_proto.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Skype/src/skype_proto.cpp b/protocols/Skype/src/skype_proto.cpp index 48688727dd..cb7fcdfb4d 100644 --- a/protocols/Skype/src/skype_proto.cpp +++ b/protocols/Skype/src/skype_proto.cpp @@ -277,16 +277,16 @@ int __cdecl CSkypeProto::RecvFile( HANDLE hContact, PROTORECVFILET* evt) return ::Proto_RecvFile(hContact, evt);
}
-int __cdecl CSkypeProto::RecvMsg( HANDLE hContact, PROTORECVEVENT* pre)
+int __cdecl CSkypeProto::RecvMsg(HANDLE hContact, PROTORECVEVENT* pre)
{
::db_unset(hContact, "CList", "Hidden");
this->UserIsTyping(hContact, PROTOTYPE_SELFTYPING_OFF);
char *guid = (char *)pre->lParam;
- int guidLen = ::strlen(guid);
+ int guidLen = (int)::strlen(guid);
char *message = (char *)pre->szMessage;
- int msgLen = ::strlen(message) + 1;
+ int msgLen = (int)::strlen(message) + 1;
message = (char *)::mir_realloc(message, msgLen + guidLen);
::memcpy((char *)&message[msgLen], guid, guidLen);
|