summaryrefslogtreecommitdiff
path: root/utils/DList.cc
diff options
context:
space:
mode:
authorchatty1995-03-13 15:03:50 +0000
committerchatty1995-03-13 15:03:50 +0000
commit695304d5aa8235993b35f933dd44339e68b211e4 (patch)
treeb61418a94e522e373b3fb905cc2519b788be3179 /utils/DList.cc
parente63a37896804d4c483512f460931793a5188ee1c (diff)
downloadivy-league-695304d5aa8235993b35f933dd44339e68b211e4.zip
ivy-league-695304d5aa8235993b35f933dd44339e68b211e4.tar.gz
ivy-league-695304d5aa8235993b35f933dd44339e68b211e4.tar.bz2
ivy-league-695304d5aa8235993b35f933dd44339e68b211e4.tar.xz
unsigned long -> size_t (finally!)
Diffstat (limited to 'utils/DList.cc')
-rw-r--r--utils/DList.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/DList.cc b/utils/DList.cc
index 97d6539..9ccae7b 100644
--- a/utils/DList.cc
+++ b/utils/DList.cc
@@ -3,7 +3,7 @@
*
* by Stephane Chatty
*
- * Copyright 1992
+ * Copyright 1992-1995
* Centre d'Etudes de la Navigation Aerienne (CENA)
*
* plain and generic double-linked lists (original ideas by Yves Berteaud)
@@ -37,7 +37,7 @@ public:
CcuDListLink* Next;
inline CcuDListLink (CcuDListItem* e, CcuDListLink* p) : Entry (e), Previous (p), Next (p->Next) { Previous->Next = Next->Previous = this; }
inline CcuDListLink (CcuDListItem* e) : Entry (e), Previous (this), Next (this) {}
- void* operator new (unsigned long);
+ void* operator new (size_t);
void operator delete (void*);
};
#endif
@@ -52,9 +52,9 @@ CcuAllocator* CcuDList::CcuDListLink::DListLinkMem = 0;
/*?nodoc?*/
void*
#ifdef CPLUS_BUG20
-CcuDListLink :: operator new (unsigned long)
+CcuDListLink :: operator new (size_t)
#else
-CcuDList::CcuDListLink :: operator new (unsigned long)
+CcuDList::CcuDListLink :: operator new (size_t)
#endif
{
if (!DListLinkMem)