BSD and POSIX specify socklen_t as int. Busybox should too, to avoid pointer signedness warnings. --- include/libbb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/libbb.h b/include/libbb.h index f0ac1f5..dc0acd8 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -143,7 +143,7 @@ * (in case "is it defined already" detection above failed) */ # define socklen_t bb_socklen_t - typedef unsigned socklen_t; + typedef int socklen_t; # endif #endif #ifndef HAVE_CLEARENV -- 2.0.5 _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox