From 695304d5aa8235993b35f933dd44339e68b211e4 Mon Sep 17 00:00:00 2001 From: chatty Date: Mon, 13 Mar 1995 15:03:50 +0000 Subject: unsigned long -> size_t (finally!) --- utils/DList.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'utils/DList.cc') 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) -- cgit v1.1