summaryrefslogtreecommitdiff
path: root/utils/DList.cc
diff options
context:
space:
mode:
authorchatty1993-12-22 12:24:30 +0000
committerchatty1993-12-22 12:24:30 +0000
commit9ee441b8c64cbd39bdd79e9f55e8388390ea6e14 (patch)
treec6ed7926ad96372c861825ebd2db7318d9a6bfce /utils/DList.cc
parent1c7635febcaa6fb0f1308c53d90fd36ea598372a (diff)
downloadivy-league-9ee441b8c64cbd39bdd79e9f55e8388390ea6e14.zip
ivy-league-9ee441b8c64cbd39bdd79e9f55e8388390ea6e14.tar.gz
ivy-league-9ee441b8c64cbd39bdd79e9f55e8388390ea6e14.tar.bz2
ivy-league-9ee441b8c64cbd39bdd79e9f55e8388390ea6e14.tar.xz
changed arg of operator new
Diffstat (limited to 'utils/DList.cc')
-rw-r--r--utils/DList.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/DList.cc b/utils/DList.cc
index 711a32c..97d6539 100644
--- a/utils/DList.cc
+++ b/utils/DList.cc
@@ -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 int);
+ void* operator new (unsigned long);
void operator delete (void*);
};
#endif
@@ -52,9 +52,9 @@ CcuAllocator* CcuDList::CcuDListLink::DListLinkMem = 0;
/*?nodoc?*/
void*
#ifdef CPLUS_BUG20
-CcuDListLink :: operator new (unsigned int)
+CcuDListLink :: operator new (unsigned long)
#else
-CcuDList::CcuDListLink :: operator new (unsigned int)
+CcuDList::CcuDListLink :: operator new (unsigned long)
#endif
{
if (!DListLinkMem)