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/List.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'utils/List.cc') 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) -- cgit v1.1