mirror of
https://github.com/Tha14/toxic.git
synced 2025-07-05 00:06:45 +02:00
use 64-bit off_t for file sizes
This commit is contained in:
@ -181,7 +181,7 @@ int load_blocklist(char *path)
|
||||
if (fp == NULL)
|
||||
return -1;
|
||||
|
||||
uint64_t len = file_size(path);
|
||||
off_t len = file_size(path);
|
||||
|
||||
if (len == -1) {
|
||||
fclose(fp);
|
||||
|
Reference in New Issue
Block a user