From 56fac36e861a294a7950f89649ee3e955d1ab956 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 21 Dec 2008 12:26:32 +0200 Subject: [PATCH] Silence a compiler warning --- wpa_supplicant/wpa_gui-qt4/networkconfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/wpa_gui-qt4/networkconfig.cpp b/wpa_supplicant/wpa_gui-qt4/networkconfig.cpp index 8d5d23b5d..dae9edd38 100644 --- a/wpa_supplicant/wpa_gui-qt4/networkconfig.cpp +++ b/wpa_supplicant/wpa_gui-qt4/networkconfig.cpp @@ -651,7 +651,7 @@ void NetworkConfig::paramsFromConfig(int network_id) if (strncmp(reply, "\"auth=", 6)) break; if (strcmp(reply + 6, "GTC auth=MSCHAPV2") == 0) { - val = "GTC(auth) + MSCHAPv2(prov)"; + val = (char *) "GTC(auth) + MSCHAPv2(prov)"; break; } val = reply + 2;