diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-05-19 12:44:16 +0000 |
|---|---|---|
| committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-05-19 12:44:16 +0000 |
| commit | 38583fd6f2aa8eb0a9844f3a85d0f0a07eee88ed (patch) | |
| tree | 31898e60e7f742c407493701a329f291e2feb40d /libbb | |
| parent | 4009ed91f7cf27074c2b30cc8dc4b865169c5aef (diff) | |
| download | busybox-w32-38583fd6f2aa8eb0a9844f3a85d0f0a07eee88ed.tar.gz busybox-w32-38583fd6f2aa8eb0a9844f3a85d0f0a07eee88ed.tar.bz2 busybox-w32-38583fd6f2aa8eb0a9844f3a85d0f0a07eee88ed.zip | |
- use uint32_t instead of __u32
Thanks to Rich Felker for pointing this out.
Diffstat (limited to 'libbb')
| -rw-r--r-- | libbb/inet_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/inet_common.c b/libbb/inet_common.c index 3ff819742..ca0ef7052 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) | |||
| 206 | 206 | ||
| 207 | #ifndef IN6_IS_ADDR_UNSPECIFIED | 207 | #ifndef IN6_IS_ADDR_UNSPECIFIED |
| 208 | # define IN6_IS_ADDR_UNSPECIFIED(a) \ | 208 | # define IN6_IS_ADDR_UNSPECIFIED(a) \ |
| 209 | (((__u32 *) (a))[0] == 0 && ((__u32 *) (a))[1] == 0 && \ | 209 | (((uint32_t *) (a))[0] == 0 && ((uint32_t *) (a))[1] == 0 && \ |
| 210 | ((__u32 *) (a))[2] == 0 && ((__u32 *) (a))[3] == 0) | 210 | ((uint32_t *) (a))[2] == 0 && ((uint32_t *) (a))[3] == 0) |
| 211 | #endif | 211 | #endif |
| 212 | 212 | ||
| 213 | 213 | ||
