summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/List.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/List.h b/utils/List.h
index 869f220..98311a9 100644
--- a/utils/List.h
+++ b/utils/List.h
@@ -134,7 +134,7 @@ inline CcuListOf& operator << (ITEM* it) { CcuList::Append (it); return *this; }
inline ITEM* RemoveFirst () { return (ITEM*) (CcuList::RemoveFirst ()); }
inline ITEM* RemoveLast () { return (ITEM*) (CcuList::RemoveLast ()); }
inline int Remove (ITEM* it, int nb = 1) { return CcuList::Remove (it, nb); }
-inline int Remove (int (*p) (ITEM*), int nb = 1) { return CcuList::Remove ((int (*) (ITEM*)) p, nb); }
+inline int Remove (int (*p) (ITEM*), int nb = 1) { return CcuList::Remove ((int (*) (void*)) p, nb); }
inline void InsertAfter (const CcuListIterOf <ITEM>& li, ITEM*it) { CcuList::InsertAfter (li, it); }
inline void InsertBefore (const CcuListIterOf <ITEM>& li, ITEM* it) { CcuList::InsertBefore (li, it); }