nl80211: Indicate channel list change events
[libeap.git] / wpa_supplicant / ctrl_iface_named_pipe.c
index af451eb..5f7e24d 100644 (file)
@@ -20,7 +20,7 @@
 #include "eapol_supp/eapol_supp_sm.h"
 #include "wpa_supplicant_i.h"
 #include "ctrl_iface.h"
-#include "wpa_ctrl.h"
+#include "common/wpa_ctrl.h"
 
 #ifdef __MINGW32_VERSION
 /* mingw-w32api v3.1 does not yet include sddl.h, so define needed parts here
@@ -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 "