summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorchatty1993-05-17 15:28:09 +0000
committerchatty1993-05-17 15:28:09 +0000
commitb26f2b08c9d550158e3e761fac38b42f37f53ca6 (patch)
tree8eea8425118f1c021c6cab12bd29a46e3562f57d /utils
parent17734e8e1ac99a6c49a2730e3997e0a11469dffd (diff)
downloadivy-league-b26f2b08c9d550158e3e761fac38b42f37f53ca6.zip
ivy-league-b26f2b08c9d550158e3e761fac38b42f37f53ca6.tar.gz
ivy-league-b26f2b08c9d550158e3e761fac38b42f37f53ca6.tar.bz2
ivy-league-b26f2b08c9d550158e3e761fac38b42f37f53ca6.tar.xz
Fixed bug in CcuListOf::Remove (func, int): wrong cast
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); }