From d9b23a5a4df7e572ec897357292cf377eca9b229 Mon Sep 17 00:00:00 2001 From: Stefano Cossu Date: Fri, 18 Mar 2022 09:56:42 -0700 Subject: [PATCH] Remove unintended signature change. --- hashmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hashmap.c b/hashmap.c index fa21374..4b97cce 100644 --- a/hashmap.c +++ b/hashmap.c @@ -248,7 +248,7 @@ static bool resize(struct hashmap *map, size_t new_cap) { // replaced then it is returned otherwise NULL is returned. This operation // may allocate memory. If the system is unable to allocate additional // memory then NULL is returned and hashmap_oom() returns true. -void *hashmap_set(struct hashmap *map, const void *item) { +void *hashmap_set(struct hashmap *map, void *item) { if (!item) { panic("item is null"); }