]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Silence a compiler warning
authorJouni Malinen <j@w1.fi>
Sun, 21 Dec 2008 10:26:32 +0000 (12:26 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 21 Dec 2008 10:26:32 +0000 (12:26 +0200)
wpa_supplicant/wpa_gui-qt4/networkconfig.cpp

index 8d5d23b5ded7a8206771355580c85a4537904555..dae9edd38d39aebbe4ef283e0f6f808697d096a9 100644 (file)
@@ -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;