summaryrefslogtreecommitdiff
path: root/src/modules/clist/clcidents.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/clist/clcidents.cpp')
-rw-r--r--src/modules/clist/clcidents.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/clist/clcidents.cpp b/src/modules/clist/clcidents.cpp
index 72279117ab..5ec0b48600 100644
--- a/src/modules/clist/clcidents.cpp
+++ b/src/modules/clist/clcidents.cpp
@@ -176,20 +176,20 @@ int fnGetRowByIndex(struct ClcData *dat, int testindex, ClcContact **contact, Cl
return -1;
}
-HANDLE fnContactToHItem(ClcContact * contact)
+HANDLE fnContactToHItem(ClcContact *contact)
{
switch (contact->type) {
case CLCIT_CONTACT:
return contact->hContact;
case CLCIT_GROUP:
- return (HANDLE) (contact->groupId | HCONTACT_ISGROUP);
+ return (HCONTACT)(contact->groupId | HCONTACT_ISGROUP);
case CLCIT_INFO:
- return (HANDLE) ((UINT_PTR) contact->hContact | HCONTACT_ISINFO);
+ return (HCONTACT)((UINT_PTR)contact->hContact | HCONTACT_ISINFO);
}
return NULL;
}
-HANDLE fnContactToItemHandle(ClcContact * contact, DWORD * nmFlags)
+HANDLE fnContactToItemHandle(ClcContact *contact, DWORD *nmFlags)
{
switch (contact->type) {
case CLCIT_CONTACT:
@@ -197,11 +197,11 @@ HANDLE fnContactToItemHandle(ClcContact * contact, DWORD * nmFlags)
case CLCIT_GROUP:
if (nmFlags)
*nmFlags |= CLNF_ISGROUP;
- return (HANDLE) contact->groupId;
+ return (HCONTACT)contact->groupId;
case CLCIT_INFO:
if (nmFlags)
*nmFlags |= CLNF_ISINFO;
- return (HANDLE) ((UINT_PTR) contact->hContact | HCONTACT_ISINFO);
+ return (HCONTACT)((UINT_PTR)contact->hContact | HCONTACT_ISINFO);
}
return NULL;
}