Skip to content

Commit

Permalink
Remove unintended signature change.
Browse files Browse the repository at this point in the history
  • Loading branch information
scossu committed Mar 18, 2022
1 parent cdd1eff commit d9b23a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hashmap.c
Expand Up @@ -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");
}
Expand Down

0 comments on commit d9b23a5

Please sign in to comment.