mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-09 23:57:50 +01:00
Fix warnings with MinGW
This commit is contained in:
committed by
Matt Arsenault
parent
1ffc5d11dc
commit
6ecb796e77
@@ -234,8 +234,10 @@ int zmq::signaler_t::make_fdpair (fd_t *r_, fd_t *w_)
|
||||
return 0;
|
||||
|
||||
#elif defined ZMQ_HAVE_WINDOWS
|
||||
SECURITY_DESCRIPTOR sd = {0};
|
||||
SECURITY_ATTRIBUTES sa = {0};
|
||||
SECURITY_DESCRIPTOR sd;
|
||||
SECURITY_ATTRIBUTES sa;
|
||||
memset (&sd, 0, sizeof (sd));
|
||||
memset (&sa, 0, sizeof (sa));
|
||||
|
||||
InitializeSecurityDescriptor(&sd, SECURITY_DESCRIPTOR_REVISION);
|
||||
SetSecurityDescriptorDacl(&sd, TRUE, 0, FALSE);
|
||||
|
||||
Reference in New Issue
Block a user