summaryrefslogtreecommitdiff
path: root/libopie2/opienet/onetwork.cpp
Side-by-side diff
Diffstat (limited to 'libopie2/opienet/onetwork.cpp') (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opienet/onetwork.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opienet/onetwork.cpp b/libopie2/opienet/onetwork.cpp
index 67718ba..171a2bc 100644
--- a/libopie2/opienet/onetwork.cpp
+++ b/libopie2/opienet/onetwork.cpp
@@ -968,7 +968,7 @@ OStationList* OWirelessNetworkInterface::scanNetwork()
case SIOCGIWESSID:
{
odebug << "SIOCGIWESSID" << oendl;
- stations->last()->ssid = we->u.essid.pointer;
+ stations->last()->ssid = static_cast<const char*>( we->u.essid.pointer );
break;
}
case SIOCGIWSENS: odebug << "SIOCGIWSENS" << oendl; break;