mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
- use uint32_t instead of __u32
Thanks to Rich Felker for pointing this out.
This commit is contained in:
parent
4009ed91f7
commit
38583fd6f2
@ -206,8 +206,8 @@ int INET6_resolve(const char *name, struct sockaddr_in6 *sin6)
|
|||||||
|
|
||||||
#ifndef IN6_IS_ADDR_UNSPECIFIED
|
#ifndef IN6_IS_ADDR_UNSPECIFIED
|
||||||
# define IN6_IS_ADDR_UNSPECIFIED(a) \
|
# define IN6_IS_ADDR_UNSPECIFIED(a) \
|
||||||
(((__u32 *) (a))[0] == 0 && ((__u32 *) (a))[1] == 0 && \
|
(((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && \
|
||||||
((__u32 *) (a))[2] == 0 && ((__u32 *) (a))[3] == 0)
|
((uint32_t *) (a))[2] == 0 && ((uint32_t *) (a))[3] == 0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user