mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Use a 64 bit hash for the buckets, just to avoid conversion warnings
This commit is contained in:
parent
7af0111c4a
commit
575ce99b5f
1 changed files with 1 additions and 1 deletions
|
|
@ -1434,7 +1434,7 @@ void bucket_free(struct snapraid_bucket* bucket)
|
|||
|
||||
void bucket_insert(tommy_hashdyn* bucket_hash, time_t time_at, block_off_t count, int justsynced)
|
||||
{
|
||||
unsigned hash = tommy_inthash_u32(time_at);
|
||||
tommy_hash_t hash = tommy_inthash_u64(time_at);
|
||||
tommy_node* i = tommy_hashdyn_bucket(bucket_hash, hash);
|
||||
while (i) {
|
||||
struct snapraid_bucket* entry = i->data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue