Browse Source

Avoid some gcc 4.3 warnings about deprecated string conversions

Jouni Malinen 16 years ago
parent
commit
8de4f2e9ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wpa_supplicant/wpa_gui-qt4/networkconfig.cpp

+ 1 - 1
wpa_supplicant/wpa_gui-qt4/networkconfig.cpp

@@ -305,7 +305,7 @@ void NetworkConfig::addNetwork()
 				snprintf(phase2, sizeof(phase2), "auth=%s",
 					 inner.toAscii().constData());
 		} else if (eap.compare("FAST") == 0) {
-			char *provisioning = NULL;
+			const char *provisioning = NULL;
 			if (inner.startsWith("EAP-")) {
 				snprintf(phase2, sizeof(phase2), "auth=%s",
 					 inner.right(inner.size() - 4).