diff options
author | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-11-30 00:53:10 +0000 |
---|---|---|
committer | Rozhuk Ivan <rozhuk.im@gmail.com> | 2014-11-30 00:53:10 +0000 |
commit | ce2af47d41cc790df1b18d9e80295a38747de19f (patch) | |
tree | b9e75709ec7e75dada1c77a3ea70f1304091cae9 /protocols/IcqOscarJ/src/stdpackets.cpp | |
parent | a5574d24bc8c0e94c8880c75f0fd27d08d30b98b (diff) |
code cleanup, x64 fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@11163 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/stdpackets.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/stdpackets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IcqOscarJ/src/stdpackets.cpp b/protocols/IcqOscarJ/src/stdpackets.cpp index 7f20732276..735dbabcd7 100644 --- a/protocols/IcqOscarJ/src/stdpackets.cpp +++ b/protocols/IcqOscarJ/src/stdpackets.cpp @@ -330,7 +330,7 @@ DWORD CIcqProto::icq_SendChannel1Message(DWORD dwUin, char *szUID, MCONTACT hCon DWORD CIcqProto::icq_SendChannel1MessageW(DWORD dwUin, char *szUID, MCONTACT hContact, WCHAR *pszText, cookie_message_data *pCookieData)
{
- WORD wMessageLen = strlennull(pszText) * (int)sizeof(WCHAR);
+ WORD wMessageLen = strlennull(pszText) * sizeof(WCHAR);
DWORD dwCookie = AllocateCookie(CKT_MESSAGE, 0, hContact, (void*)pCookieData);
WORD wPacketLength = (pCookieData->nAckType == ACKTYPE_SERVER) ? 26 : 22;
|