summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDavid Hill <dhill@conformal.com>2014-06-20 00:41:52 -0400
committerDavid Hill <dhill@conformal.com>2014-06-20 00:41:52 -0400
commit5419a4b3605a4a2dd275488e91403b98eda543c7 (patch)
tree7a51a1d3d4835cc4638f8762592a2fc33573b717 /src
parent9d0d4d9437649ed96381120e68a8d4035f6ded7e (diff)
downloadirssi-5419a4b3605a4a2dd275488e91403b98eda543c7.zip
Fix compiler warning.
network.c:63:2: warning: missing braces around initializer [-Wmissing-braces] network.c:63:2: warning: (near initialization for 'ip4_any.ip.__u6_addr') [-Wmissing-braces]
Diffstat (limited to 'src')
-rw-r--r--src/core/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/network.c b/src/core/network.c
index de5abbbe..7e55d472 100644
--- a/src/core/network.c
+++ b/src/core/network.c
@@ -60,7 +60,7 @@ GIOChannel *g_io_channel_new(int handle)
IPADDR ip4_any = {
AF_INET,
- { INADDR_ANY }
+ { { { INADDR_ANY } } }
};
int net_ip_compare(IPADDR *ip1, IPADDR *ip2)