pool(2): fix ulong -> uintptr

This commit is contained in:
cinap_lenrek 2014-02-12 18:53:03 +01:00
parent 872f83cebe
commit ad38f0eb1c

View file

@ -133,10 +133,10 @@ structure itself provides much of the setup interface.
typedef struct Pool Pool; typedef struct Pool Pool;
struct Pool { struct Pool {
char* name; char* name;
ulong maxsize; /* of entire Pool */ uintptr maxsize; /* of entire Pool */
ulong cursize; /* of Pool */ uintptr cursize; /* of Pool */
ulong curfree; /* total free bytes in Pool */ uintptr curfree; /* total free bytes in Pool */
ulong curalloc; /* total allocated bytes in Pool */ uintptr curalloc; /* total allocated bytes in Pool */
ulong minarena; /* smallest size of new arena */ ulong minarena; /* smallest size of new arena */
ulong quantum; /* allocated blocks should be multiple of */ ulong quantum; /* allocated blocks should be multiple of */
ulong minblock; /* smallest newly allocated block */ ulong minblock; /* smallest newly allocated block */