aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/ctrl_iface_named_pipe.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-12-10 22:56:37 (GMT)
committerJouni Malinen <j@w1.fi>2008-12-10 22:56:37 (GMT)
commit9e72e1d35683389bf5eebf88cb51ef042dd71901 (patch)
treee914a6275fcca908bada85dbea01ec1542182c7e /wpa_supplicant/ctrl_iface_named_pipe.c
parent702c349e5ea055e57efa82479ac43296fafdcde7 (diff)
downloadhostap-9e72e1d35683389bf5eebf88cb51ef042dd71901.zip
hostap-9e72e1d35683389bf5eebf88cb51ef042dd71901.tar.gz
hostap-9e72e1d35683389bf5eebf88cb51ef042dd71901.tar.bz2
Workaround number of compiler warnings with newer MinGW version
Diffstat (limited to 'wpa_supplicant/ctrl_iface_named_pipe.c')
-rw-r--r--wpa_supplicant/ctrl_iface_named_pipe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/wpa_supplicant/ctrl_iface_named_pipe.c b/wpa_supplicant/ctrl_iface_named_pipe.c
index af451eb..e8b53b1 100644
--- a/wpa_supplicant/ctrl_iface_named_pipe.c
+++ b/wpa_supplicant/ctrl_iface_named_pipe.c
@@ -412,7 +412,8 @@ static int ctrl_iface_parse(struct ctrl_iface_priv *priv, const char *params)
return -1;
if (!ConvertStringSecurityDescriptorToSecurityDescriptor(
t_sddl, SDDL_REVISION_1,
- (PSECURITY_DESCRIPTOR *) &priv->attr.lpSecurityDescriptor,
+ (PSECURITY_DESCRIPTOR *) (void *)
+ &priv->attr.lpSecurityDescriptor,
NULL)) {
os_free(t_sddl);
wpa_printf(MSG_ERROR, "CTRL: SDDL='%s' - could not convert to "