Use 64-bit TommyDS hash functions on 64-bit architectures

This commit is contained in:
Andrea Mazzoleni 2026-10-07 19:13:27 +02:00
parent 9505499e15
commit 52106f41ed
5 changed files with 42 additions and 18 deletions

View file

@ -1021,7 +1021,7 @@ static void scan_file_apply(void* void_scan, void* void_disc)
* in such case we have a "copy" over an "update"
*/
if (!state->opt.force_nocopy) {
tommy_uint32_t hash = file_stamp_hash(file->size, file->mtime_sec, file->mtime_nsec);
tommy_hash_t hash = file_stamp_hash(file->size, file->mtime_sec, file->mtime_nsec);
/* search for a file with the same name and stamp in all the disks */
for (i = state->disklist; i != 0; i = i->next) {