mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-08-02 08:30:27 +03:00
Allow const keys for lookup
Signed-off-by: Steve Dougherty <sdougherty@barracuda.com> This resolves #281.
This commit is contained in:
parent
bd418ce11e
commit
13b4015531
5 changed files with 18 additions and 17 deletions
|
|
@ -21,7 +21,7 @@ struct node_s {
|
|||
};
|
||||
|
||||
static int
|
||||
node_cmp(node_t *a, node_t *b) {
|
||||
node_cmp(const node_t *a, const node_t *b) {
|
||||
int ret;
|
||||
|
||||
assert_u32_eq(a->magic, NODE_MAGIC, "Bad magic");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue