Fix trivial compilation warning
Fix "missing braces around initializer" warning.pull/126/head
parent
f1e5f2ba01
commit
993dfc059d
|
@ -1,5 +1,5 @@
|
|||
#include "ip_type.h"
|
||||
|
||||
const ip_type ip_type_invalid = { .addr.v4.as_int = -1 };
|
||||
const ip_type ip_type_localhost = { .addr.v4 = {127, 0, 0, 1} };
|
||||
const ip_type ip_type_localhost = { .addr.v4.octet = {127, 0, 0, 1} };
|
||||
|
||||
|
|
Loading…
Reference in New Issue