summaryrefslogtreecommitdiff
path: root/utils/DList.h
diff options
context:
space:
mode:
authorchatty1995-03-13 15:03:50 +0000
committerchatty1995-03-13 15:03:50 +0000
commit695304d5aa8235993b35f933dd44339e68b211e4 (patch)
treeb61418a94e522e373b3fb905cc2519b788be3179 /utils/DList.h
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.h')
-rw-r--r--utils/DList.h5
1 files changed, 3 insertions, 2 deletions
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 <sys/types.h>
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