Fix per-file block index overflow beyond 32 bits

This commit is contained in:
Andrea Mazzoleni 2026-08-14 00:17:58 +02:00
parent 5be2d16904
commit 9255157519
2 changed files with 2 additions and 2 deletions

View file

@ -330,7 +330,7 @@ int filter_existence(int filter_missing, const char* dir, const char* sub)
int filter_correctness(int filter_error, tommy_arrayblkof* infoarr, struct snapraid_disk* disk, struct snapraid_file* file)
{
unsigned i;
block_off_t i;
if (!filter_error)
return 0;