1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-29 03:17:53 -04:00

strtoll instead of strtol to show the filesize of big files in FTP

downloads.
This commit is contained in:
Witold Filipczyk 2010-09-08 22:52:59 +02:00 committed by Witold Filipczyk
parent 00ebb8ef4b
commit 7f164f8633

View File

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