Fix build.

This commit is contained in:
Dmitry 2019-07-31 14:17:05 +03:00 committed by jeefo
commit 2a7367c1a8
5 changed files with 7 additions and 9 deletions

View file

@ -151,7 +151,7 @@ public:
return static_cast <int32> (sendLength);
#else
iovec iov = { const_cast <void *> (message), length };
msghdr msg = { 0, };
msghdr msg {};
msg.msg_name = reinterpret_cast <void *> (const_cast <struct sockaddr *> (dest));
msg.msg_namelen = destLength;