Commit 5e0d4939 authored by Daniel Salzman's avatar Daniel Salzman

qptrie: mute compiler warning on 32-bit platforms

parent 43d02901
......@@ -209,7 +209,7 @@ static bool isbranch(const node_t *t)
static tkey_t *tkey(const node_t *t)
{
assert(!isbranch(t));
return (tkey_t *)(t->i & TMASK_LEAF);
return (tkey_t *)(uintptr_t)(t->i & TMASK_LEAF);
}
static trie_val_t *tvalp(node_t *t)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment