From bf73d255909e66a699ad0afa26112f7f7a1679c1 Mon Sep 17 00:00:00 2001 From: otto Date: Tue, 30 Jan 2018 17:45:53 +0000 Subject: [PATCH] kill a gcc warning --- libexec/ld.so/malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/ld.so/malloc.c b/libexec/ld.so/malloc.c index 133cd4e59d0..dc75dbbc287 100644 --- a/libexec/ld.so/malloc.c +++ b/libexec/ld.so/malloc.c @@ -604,7 +604,7 @@ omalloc_make_chunks(struct dir_info *d, int bits, int listnum) goto err; bp->page = pp; - if (insert(d, (void *)((uintptr_t)pp | bits + 1), (uintptr_t)bp)) + if (insert(d, (void *)((uintptr_t)pp | (bits + 1)), (uintptr_t)bp)) goto err; LIST_INSERT_HEAD(&d->chunk_dir[bits][listnum], bp, entries); return bp; -- 2.20.1