pool(2): fix ulong -> uintptr
This commit is contained in:
parent
872f83cebe
commit
ad38f0eb1c
1 changed files with 4 additions and 4 deletions
|
@ -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 */
|
||||||
|
|
Loading…
Reference in a new issue