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.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'utils/DList.h') diff --git a/utils/DList.h b/utils/DList.h index 3c84753..cba72f1 100644 --- a/utils/DList.h +++ b/utils/DList.h @@ -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) @@ -16,6 +16,7 @@ #define DList_H_ #include "cplus_bugs.h" +#include class CcuAllocator; @@ -37,7 +38,7 @@ friend class CcuDListIter; 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 -- cgit v1.1