commit e39c9655ee88b29a5aa50e201ff0a7d141141ce9
parent a2239b4be6e56d68d4cc311ca1489cd5cd2ae7de
Author: Roberto E. Vargas Caballero <roberto.vargas@midokura.com>
Date: Tue, 22 Nov 2022 21:58:56 +0100
os9: Fix pointer type in alloc()
Bp is only used to store the value returned, so the type
of bp is meaningless.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/os9/alloc.c b/src/os9/alloc.c
@@ -86,7 +86,7 @@ alloc(size_t size)
size_t n;
static size_t used;
static mutex_t m;
- union bucket *bp;
+ void *bp;
if (size == 0) {
errno = EINVAL;