diff options
author | George Hazan <george.hazan@gmail.com> | 2014-11-30 09:58:02 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-11-30 09:58:02 +0000 |
commit | 389916d6810e52a2d8e5676248684788ef17e42a (patch) | |
tree | 2baa7f13b6d5fbe0c496626618681ac6c8943fdf /protocols/IcqOscarJ/src/icq_rates.cpp | |
parent | 0eb671f7d30f51c6a0f30ed99a4ec123479f3239 (diff) |
warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@11169 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_rates.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_rates.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IcqOscarJ/src/icq_rates.cpp b/protocols/IcqOscarJ/src/icq_rates.cpp index d71c0ada22..9ea1e9c70c 100644 --- a/protocols/IcqOscarJ/src/icq_rates.cpp +++ b/protocols/IcqOscarJ/src/icq_rates.cpp @@ -223,7 +223,7 @@ int rates::getLimitLevel(WORD wGroup, int nLevel) void rates::initAckPacket(icq_packet *pPacket)
{
- serverPacketInit(pPacket, 10 + nGroups * sizeof(WORD));
+ serverPacketInit(pPacket, 10 + WORD(nGroups * sizeof(WORD)));
packFNACHeader(pPacket, ICQ_SERVICE_FAMILY, ICQ_CLIENT_RATE_ACK);
for (WORD wGroup = 1; wGroup <= nGroups; wGroup++)
packWord(pPacket, wGroup);
|