Skip to content

Commit 0cd2390

Browse files
committed
fix init
1 parent f18cd0e commit 0cd2390

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

include/enet.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,9 +222,9 @@
222222

223223
/* IPv4-only address constants */
224224
#ifdef _WIN32
225-
static const struct in_addr enet_v4_anyaddr = { {{{ 0, 0, 0, 0 }}} }; /* 0.0.0.0 */
226-
static const struct in_addr enet_v4_noaddr = { {{{ 255, 255, 255, 255 }}} }; /* 255.255.255.255 */
227-
static const struct in_addr enet_v4_localhost = { {{{ 127, 0, 0, 1 }}} }; /* 127.0.0.1 */
225+
static const struct in_addr enet_v4_anyaddr = { { { 0, 0, 0, 0 } } }; /* 0.0.0.0 */
226+
static const struct in_addr enet_v4_noaddr = { { { 255, 255, 255, 255 } } }; /* 255.255.255.255 */
227+
static const struct in_addr enet_v4_localhost = { { { 127, 0, 0, 1 } } }; /* 127.0.0.1 */
228228
#else
229229
static const struct in_addr enet_v4_anyaddr = { 0 }; /* 0.0.0.0 */
230230
static const struct in_addr enet_v4_noaddr = { 0xFFFFFFFF }; /* 255.255.255.255 */

0 commit comments

Comments
 (0)