mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:53:32 +03:00
build: add picky compiler warning flags for gcc 6 and 7
This commit is contained in:
parent
4e884615d1
commit
a19fefb070
6 changed files with 25 additions and 5 deletions
|
|
@ -1010,7 +1010,7 @@ static CURLcode tftp_connect(struct connectdata *conn, bool *done)
|
|||
state->requested_blksize = blksize;
|
||||
|
||||
((struct sockaddr *)&state->local_addr)->sa_family =
|
||||
(unsigned short)(conn->ip_addr->ai_family);
|
||||
(sa_family_t)(conn->ip_addr->ai_family);
|
||||
|
||||
tftp_set_timeouts(state);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue