1
0
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:
Jfreegman
2014-09-24 14:23:08 -04:00
parent 893e88294b
commit a432d733d7
7 changed files with 9 additions and 9 deletions

View File

@ -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);