summaryrefslogtreecommitdiff
path: root/utils/List.cc
diff options
context:
space:
mode:
Diffstat (limited to 'utils/List.cc')
-rw-r--r--utils/List.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/List.cc b/utils/List.cc
index 4c4db23..7d47157 100644
--- a/utils/List.cc
+++ b/utils/List.cc
@@ -3,7 +3,7 @@
*
* by Stephane Chatty
*
- * Copyright 1992
+ * Copyright 1992-1995
* Centre d'Etudes de la Navigation Aerienne (CENA)
*
* plain and generic lists (original ideas by Yves Berteaud)
@@ -36,7 +36,7 @@ public:
CcuListLink* Next;
inline CcuListLink (CcuListItem* e, CcuListLink* n = 0) { Entry = e; Next = n ? n : this; }
CcuListLink* Previous ();
- void* operator new (unsigned long);
+ void* operator new (size_t);
void operator delete (void*);
};
#endif
@@ -52,9 +52,9 @@ CcuAllocator* CcuList::CcuListLink::ListLinkMem = 0;
/*?nodoc?*/
void*
#ifdef CPLUS_BUG20
-CcuListLink :: operator new (unsigned long)
+CcuListLink :: operator new (size_t)
#else
-CcuList::CcuListLink :: operator new (unsigned long)
+CcuList::CcuListLink :: operator new (size_t)
#endif
{
if (!ListLinkMem)