summaryrefslogtreecommitdiff
path: root/defines.h
diff options
context:
space:
mode:
Diffstat (limited to 'defines.h')
-rw-r--r--defines.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/defines.h b/defines.h
index 48e14fd25..831fbaa9e 100644
--- a/defines.h
+++ b/defines.h
@@ -239,8 +239,8 @@ typedef unsigned int size_t;
239 239
240#if !defined(IN6_IS_ADDR_V4MAPPED) 240#if !defined(IN6_IS_ADDR_V4MAPPED)
241# define IN6_IS_ADDR_V4MAPPED(a) \ 241# define IN6_IS_ADDR_V4MAPPED(a) \
242 ((((uint32_t *) (a))[0] == 0) && (((uint32_t *) (a))[1] == 0) && \ 242 ((((u_int32_t *) (a))[0] == 0) && (((u_int32_t *) (a))[1] == 0) && \
243 (((uint32_t *) (a))[2] == htonl (0xffff))) 243 (((u_int32_t *) (a))[2] == htonl (0xffff)))
244#endif /* !defined(IN6_IS_ADDR_V4MAPPED) */ 244#endif /* !defined(IN6_IS_ADDR_V4MAPPED) */
245 245
246#if !defined(__GNUC__) || (__GNUC__ < 2) 246#if !defined(__GNUC__) || (__GNUC__ < 2)