artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ddaed9
)
kill a gcc warning
author
otto
<otto@openbsd.org>
Tue, 30 Jan 2018 17:45:53 +0000
(17:45 +0000)
committer
otto
<otto@openbsd.org>
Tue, 30 Jan 2018 17:45:53 +0000
(17:45 +0000)
libexec/ld.so/malloc.c
patch
|
blob
|
history
diff --git
a/libexec/ld.so/malloc.c
b/libexec/ld.so/malloc.c
index
133cd4e
..
dc75dbb
100644
(file)
--- 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;