Treat INADDR_NONE as uint32_t.
Reviewed by: glebius
This commit is contained in:
parent
eda6009c04
commit
b298a86678
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=256505
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user