[PATCH] inet_common.c: use standard uint32_t instead of impl-internal __u32

Rich Felker dalias at aerifal.cx
Fri May 19 01:57:29 UTC 2006


no comment

rich

-------------- next part --------------
Index: /home/shared/src/busybox/libbb/inet_common.c
===================================================================
--- /home/shared/src/busybox/libbb/inet_common.c	(revision 15108)
+++ /home/shared/src/busybox/libbb/inet_common.c	(working copy)
@@ -206,8 +206,8 @@
 
 #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
 
 


More information about the busybox mailing list