1
0
mirror of https://github.com/rkd77/elinks.git synced 2025-01-03 14:57:44 -05: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; return -1;
errno = 0; 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; if (errno) return -1;
return file_len; return file_len;