diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-24 17:45:05 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-24 17:45:05 +0000 |
commit | 64936da361b3bd1c561829ffd02df1b8ec83e93b (patch) | |
tree | cc5c41bcf1fd104c2dd4c343a64cde702cb97621 /protocols/Skype/src/skype_database.cpp | |
parent | 12aab78ca9748bf56f2d6be2ab6b5f7b146313ed (diff) |
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@4525 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_database.cpp')
-rw-r--r-- | protocols/Skype/src/skype_database.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_database.cpp b/protocols/Skype/src/skype_database.cpp index 8884cb2485..4eb92678d7 100644 --- a/protocols/Skype/src/skype_database.cpp +++ b/protocols/Skype/src/skype_database.cpp @@ -69,13 +69,13 @@ void CSkypeProto::RaiseAuthRequestEvent(DWORD timestamp, CContact::Ref contact) /*blob is: 0(DWORD), hContact(DWORD), nick(ASCIIZ), firstName(ASCIIZ), lastName(ASCIIZ), sid(ASCIIZ), reason(ASCIIZ)*/
DWORD cbBlob = (DWORD)
- (sizeof(DWORD) * 2) +
+ (sizeof(DWORD) * 2 +
::strlen(nick) +
::strlen(firstName) +
::strlen(lastName) +
::strlen(sid) +
::strlen(reason) +
- 5;
+ 5);
PBYTE pBlob, pCurBlob;
pCurBlob = pBlob = (PBYTE)::mir_alloc(cbBlob);
|