summaryrefslogtreecommitdiff
path: root/libbb/inet_common.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-05-19 12:44:16 +0000
committerBernhard Reutner-Fischer2006-05-19 12:44:16 +0000
commit38583fd6f2aa8eb0a9844f3a85d0f0a07eee88ed (patch)
tree31898e60e7f742c407493701a329f291e2feb40d /libbb/inet_common.c
parent4009ed91f7cf27074c2b30cc8dc4b865169c5aef (diff)
downloadbusybox-38583fd6f2aa8eb0a9844f3a85d0f0a07eee88ed.zip
busybox-38583fd6f2aa8eb0a9844f3a85d0f0a07eee88ed.tar.gz
- use uint32_t instead of __u32
Thanks to Rich Felker for pointing this out.
Diffstat (limited to 'libbb/inet_common.c')
-rw-r--r--libbb/inet_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/inet_common.c b/libbb/inet_common.c
index 3ff8197..ca0ef70 100644
--- a/libbb/inet_common.c
+++ b/libbb/inet_common.c
@@ -206,8 +206,8 @@ int INET6_resolve(const char *name, struct sockaddr_in6 *sin6)
#ifndef IN6_IS_ADDR_UNSPECIFIED
# define IN6_IS_ADDR_UNSPECIFIED(a) \
- (((__u32 *) (a))[0] == 0 && ((__u32 *) (a))[1] == 0 && \
- ((__u32 *) (a))[2] == 0 && ((__u32 *) (a))[3] == 0)
+ (((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && \
+ ((uint32_t *) (a))[2] == 0 && ((uint32_t *) (a))[3] == 0)
#endif