From a153962ffe93e70f2419efeab904b515c99c2eda Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Sat, 7 Jun 2008 07:00:09 +0000 Subject: Fixed the bugs in the archive system. Both the List container and FString had inconsistancies when archiving compared to their STL counterparts, they are now compatible on every system I can imagine. Also, List now uses a long instead of an int for sizing, and the other containers should as well. I'll check on that later. That means that the files will all be larger on a 64 bit system, but such is life. The same thing happens when you use STL classes. There may be other inconsistancies down the road, we'll see. --- src/list.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/list.h') diff --git a/src/list.h b/src/list.h index ed28e15..2a40013 100644 --- a/src/list.h +++ b/src/list.h @@ -535,7 +535,7 @@ namespace Bu * Get the current size of the list. *@returns (int) The current size of the list. */ - int getSize() const + long getSize() const { return nSize; } @@ -586,7 +586,7 @@ namespace Bu Link *pLast; linkalloc la; valuealloc va; - int nSize; + long nSize; cmpfunc cmp; }; } -- cgit v1.2.3