diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-11-03 14:58:30 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-11-03 14:58:30 +0000 |
commit | 6ca41482bf9a63687551fc6ee792d7b6165f23bf (patch) | |
tree | 1129f22de9d0d4d3cafef434c407ef0589db895f /plugins/MirandaG15/src/CContactList.cpp | |
parent | 8e334c51bafae73d9cf3de9a0412c7a440913eb4 (diff) |
MirandaG15: warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@6754 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirandaG15/src/CContactList.cpp')
-rw-r--r-- | plugins/MirandaG15/src/CContactList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirandaG15/src/CContactList.cpp b/plugins/MirandaG15/src/CContactList.cpp index 280c9e66bc..e22f1a868d 100644 --- a/plugins/MirandaG15/src/CContactList.cpp +++ b/plugins/MirandaG15/src/CContactList.cpp @@ -206,7 +206,7 @@ bool CContactList::IsVisible(CContactListEntry *pEntry) { DWORD dwNumContacts = (DWORD)CallService(MS_MC_GETNUMCONTACTS,(WPARAM)pEntry->hHandle,0);
HANDLE hSubContact = NULL;
char *szProto;
- for(int i=0;i<dwNumContacts;i++) {
+ for(DWORD i = 0; i < dwNumContacts; i++) {
hSubContact = (HANDLE)CallService(MS_MC_GETSUBCONTACT,(WPARAM)pEntry->hHandle,i);
szProto = (char*)CallService(MS_PROTO_GETCONTACTBASEPROTO,(UINT)hSubContact,0);
if(db_get_w(hSubContact,szProto,"Status",ID_STATUS_OFFLINE) != ID_STATUS_OFFLINE) {
|