mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
smb: Use atol rather than atoi for file sizes.
Corresponds to FSP commit 9f47368894
.
This commit is contained in:
parent
3b634ffee6
commit
f905379aed
@ -460,7 +460,7 @@ smb_got_header(struct socket *socket, struct read_buffer *rb)
|
||||
#ifdef HAVE_ATOLL
|
||||
conn->est_length = (off_t)atoll(ctype);
|
||||
#else
|
||||
conn->est_length = (off_t)atoi(ctype);
|
||||
conn->est_length = (off_t)atol(ctype);
|
||||
#endif
|
||||
mem_free(ctype);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user