diff options
author | George Hazan <george.hazan@gmail.com> | 2015-08-26 11:23:00 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-08-26 11:23:00 +0000 |
commit | 05a5fe56ad2c01f3959176bb164bfe12eeac3c8d (patch) | |
tree | ef7edff4a1f1d69419f339fe7d7adbf8ec8a9e47 /protocols/SkypeWeb/src/skype_messages.cpp | |
parent | 620a8e00fae60a5bef18a000c8bc5a3b98eff6a1 (diff) |
warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@15034 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_messages.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp index d3873a97c0..78798c1432 100644 --- a/protocols/SkypeWeb/src/skype_messages.cpp +++ b/protocols/SkypeWeb/src/skype_messages.cpp @@ -311,11 +311,10 @@ void CSkypeProto::ProcessContactRecv(MCONTACT hContact, time_t timestamp, const pre.lParam = (LPARAM)b;
ProtoChainRecv(hContact, PSR_CONTACTS, 0, (LPARAM)&pre);
- for (nCount = 0; nCount < *((PDWORD)b); nCount++)
+ for (DWORD i = 0; i < *((PDWORD)b); i++)
{
- mir_free(psr[nCount]->id.t);
- //mir_free(psr[nCount]->nick.t);
- mir_free(psr[nCount]);
+ mir_free(psr[i]->id.t);
+ mir_free(psr[i]);
}
mir_free(b);
}
|