Author: kevlo Date: Tue Oct 15 07:35:39 2013 New Revision: 256505 URL: http://svnweb.freebsd.org/changeset/base/256505
Log: Treat INADDR_NONE as uint32_t. Reviewed by: glebius Modified: head/sys/netinet/in.h Modified: head/sys/netinet/in.h ============================================================================== --- head/sys/netinet/in.h Tue Oct 15 06:38:40 2013 (r256504) +++ head/sys/netinet/in.h Tue Oct 15 07:35:39 2013 (r256505) @@ -379,7 +379,7 @@ __END_DECLS #define INADDR_LOOPBACK (u_int32_t)0x7f000001 #ifndef _KERNEL -#define INADDR_NONE 0xffffffff /* -1 return */ +#define INADDR_NONE (uint32_t)0xffffffff /* -1 return */ #endif #define INADDR_UNSPEC_GROUP (u_int32_t)0xe0000000 /* 224.0.0.0 */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"