mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
strtoll instead of strtol to show the filesize of big files in FTP
downloads.
This commit is contained in:
parent
00ebb8ef4b
commit
7f164f8633
@ -914,7 +914,7 @@ next:
|
||||
return -1;
|
||||
|
||||
errno = 0;
|
||||
file_len = (off_t) strtol(&data[pos_file_len], NULL, 10);
|
||||
file_len = (off_t) strtoll(&data[pos_file_len], NULL, 10);
|
||||
if (errno) return -1;
|
||||
|
||||
return file_len;
|
||||
|
Loading…
Reference in New Issue
Block a user