diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2019-03-27 21:04:05 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2019-03-27 21:04:05 -0400 |
commit | ce5be644a16b3e4e7fdba0e0e4537daf3da70676 (patch) | |
tree | f198dbe1fc6d034f5ffcb6189af9fca2b7019554 /mtab.c | |
parent | 4216dbac10887476feef287854e9e4037f2d1a59 (diff) | |
download | bfs-ce5be644a16b3e4e7fdba0e0e4537daf3da70676.tar.xz |
trie: Store void* values rather than const void*
Fewer casts needed this way.
Diffstat (limited to 'mtab.c')
-rw-r--r-- | mtab.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -219,7 +219,7 @@ void free_bfs_mtab(struct bfs_mtab *mtab) { struct trie_leaf *leaf; while ((leaf = trie_first_leaf(&mtab->types))) { - free((char *)leaf->value); + free(leaf->value); trie_remove_mem(&mtab->types, leaf->key, leaf->length); } trie_destroy(&mtab->types); |