diff options
author | Joshua Kahn <jkahn@barracuda.com> | 2015-09-18 20:58:17 (GMT) |
---|---|---|
committer | Jason Evans <je@fb.com> | 2015-11-09 23:48:05 (GMT) |
commit | 13b401553172942c3cc1d89c70fd965be71c1540 (patch) | |
tree | 8306a2b1a073d86048691e3e59e0f276d8184aeb /test/unit | |
parent | bd418ce11efe908d0edfbe66d5af17e78582c377 (diff) | |
download | jemalloc-13b401553172942c3cc1d89c70fd965be71c1540.zip jemalloc-13b401553172942c3cc1d89c70fd965be71c1540.tar.gz jemalloc-13b401553172942c3cc1d89c70fd965be71c1540.tar.bz2 |
Allow const keys for lookup
Signed-off-by: Steve Dougherty <sdougherty@barracuda.com>
This resolves #281.
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/rb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/rb.c b/test/unit/rb.c index b38eb0e..0262037 100644 --- a/test/unit/rb.c +++ b/test/unit/rb.c @@ -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"); |