mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-05 12:56:08 +00:00
Increase WARNS to 4.
This commit is contained in:
parent
c12c6e3cda
commit
eb9b80c30d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221822
@ -26,7 +26,7 @@ LDADD= -lmd
|
||||
CFLAGS+= -DFTP_COMBINE_CWDS
|
||||
|
||||
CSTD?= c99
|
||||
WARNS?= 3
|
||||
WARNS?= 4
|
||||
|
||||
SHLIB_MAJOR= 6
|
||||
|
||||
|
@ -127,7 +127,7 @@ unmappedaddr(struct sockaddr_in6 *sin6)
|
||||
!IN6_IS_ADDR_V4MAPPED(&sin6->sin6_addr))
|
||||
return;
|
||||
sin4 = (struct sockaddr_in *)sin6;
|
||||
addr = *(u_int32_t *)&sin6->sin6_addr.s6_addr[12];
|
||||
addr = *(u_int32_t *)(uintptr_t)&sin6->sin6_addr.s6_addr[12];
|
||||
port = sin6->sin6_port;
|
||||
memset(sin4, 0, sizeof(struct sockaddr_in));
|
||||
sin4->sin_addr.s_addr = addr;
|
||||
|
@ -1087,7 +1087,7 @@ http_authfromenv(const char *p, http_auth_params_t *parms)
|
||||
* Digest response: the code to compute the digest is taken from the
|
||||
* sample implementation in RFC2616
|
||||
*/
|
||||
#define IN
|
||||
#define IN const
|
||||
#define OUT
|
||||
|
||||
#define HASHLEN 16
|
||||
|
Loading…
Reference in New Issue
Block a user