aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2020-05-09 20:55:58 +0200
committercbdev <cb@cbcdn.com>2020-05-09 20:55:58 +0200
commit63f226019991479ee03b230ba567c8ccc69bb9db (patch)
tree58619816642796b3a55a18fa67aee1696b30948b
parentfaf34959ee4a86441bc3e96229fbd5365869d523 (diff)
downloadmidimonster-63f226019991479ee03b230ba567c8ccc69bb9db.tar.gz
midimonster-63f226019991479ee03b230ba567c8ccc69bb9db.tar.bz2
midimonster-63f226019991479ee03b230ba567c8ccc69bb9db.zip
Fix sACN compile-time warning
-rw-r--r--backends/sacn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/sacn.c b/backends/sacn.c
index 0c0fd10..5858f16 100644
--- a/backends/sacn.c
+++ b/backends/sacn.c
@@ -612,7 +612,7 @@ static int sacn_start(size_t n, instance** inst){
.label = 0
};
struct ip_mreq mcast_req = {
- .imr_interface = { INADDR_ANY }
+ .imr_interface.s_addr = INADDR_ANY
};
struct sockaddr_in* dest_v4 = NULL;