mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-16 03:00:25 -08:00
content: fix inconsistent root -> node path
This commit is contained in:
1 parent
000997d3af
commit
23507a826f
1 file changed
+1
-1
@@ -272,7 +272,7 @@ c_submit_data(C_Key key, Arena **data_arena, String8 data)
|
||||
// rjf: key is new -> add this key to the associated root
|
||||
if(key_is_new)
|
||||
{
|
||||
U64 root_hash = u64_hash_from_str8(str8_struct(&key.root));
|
||||
U64 root_hash = key.root.u64[0];
|
||||
U64 root_slot_idx = root_hash%c_shared->root_slots_count;
|
||||
U64 root_stripe_idx = root_slot_idx%c_shared->root_stripes_count;
|
||||
C_RootSlot *root_slot = &c_shared->root_slots[root_slot_idx];
|
||||
|
||||
Reference in new issue
Block a user