summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trie.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trie.c b/trie.c
index c38ad2c..ff0e7be 100644
--- a/trie.c
+++ b/trie.c
@@ -452,7 +452,7 @@ static uintptr_t *trie_jump(uintptr_t *ptr, const char *key, size_t *offset) {
}
*offset += OFFSET_MAX;
- node->offset = *offset;
+ node->offset = OFFSET_MAX;
unsigned char nibble = trie_key_nibble(key, *offset);
node->bitmap = 1 << nibble;