From ce5be644a16b3e4e7fdba0e0e4537daf3da70676 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 27 Mar 2019 21:04:05 -0400 Subject: trie: Store void* values rather than const void* Fewer casts needed this way. --- trie.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'trie.h') diff --git a/trie.h b/trie.h index 48f69cc..ae554e7 100644 --- a/trie.h +++ b/trie.h @@ -35,7 +35,7 @@ struct trie_leaf { /** * An arbitrary value associated with this leaf. */ - const void *value; + void *value; /** * The length of the key in bytes. -- cgit v1.2.3