Avoid some gcc 4.3 warnings about deprecated string conversions
This commit is contained in:
parent
a11c90a64a
commit
8de4f2e9ba
1 changed files with 1 additions and 1 deletions
|
@ -305,7 +305,7 @@ void NetworkConfig::addNetwork()
|
||||||
snprintf(phase2, sizeof(phase2), "auth=%s",
|
snprintf(phase2, sizeof(phase2), "auth=%s",
|
||||||
inner.toAscii().constData());
|
inner.toAscii().constData());
|
||||||
} else if (eap.compare("FAST") == 0) {
|
} else if (eap.compare("FAST") == 0) {
|
||||||
char *provisioning = NULL;
|
const char *provisioning = NULL;
|
||||||
if (inner.startsWith("EAP-")) {
|
if (inner.startsWith("EAP-")) {
|
||||||
snprintf(phase2, sizeof(phase2), "auth=%s",
|
snprintf(phase2, sizeof(phase2), "auth=%s",
|
||||||
inner.right(inner.size() - 4).
|
inner.right(inner.size() - 4).
|
||||||
|
|
Loading…
Reference in a new issue