git: 9front

Download patch

ref: 4e78278f0e149de348c4a58a1180a7f516f45c7c
parent: 9fb574803a8ef03d6fb7936114c6a6a6bdebb5cb
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Feb 12 13:53:03 EST 2014

pool(2): fix ulong -> uintptr

--- a/sys/man/2/pool
+++ b/sys/man/2/pool
@@ -133,10 +133,10 @@
 typedef struct Pool Pool;
 struct Pool {
 	char*	name;
-	ulong	maxsize;	/* of entire Pool */
-	ulong	cursize;	/* of Pool */
-	ulong	curfree;	/* total free bytes in Pool */
-	ulong	curalloc;	/* total allocated bytes in Pool */
+	uintptr	maxsize;	/* of entire Pool */
+	uintptr	cursize;	/* of Pool */
+	uintptr	curfree;	/* total free bytes in Pool */
+	uintptr	curalloc;	/* total allocated bytes in Pool */
 	ulong	minarena;	/* smallest size of new arena */
 	ulong	quantum;	/* allocated blocks should be multiple of */
 	ulong	minblock;	/* smallest newly allocated block */
--