summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2010-03-23 01:18:09 (GMT)
committerLorn Potter <lorn.potter@nokia.com>2010-03-23 01:18:09 (GMT)
commite436d3a50ad3bcdddbc724f7559d251327170cfe (patch)
tree0fb398d5d6d52eb1bec7e9901d268ff7b778bf5d
parent5e3e89bff7699c9a0c1bb43a331b2982eceb8682 (diff)
downloadQt-e436d3a50ad3bcdddbc724f7559d251327170cfe.zip
Qt-e436d3a50ad3bcdddbc724f7559d251327170cfe.tar.gz
Qt-e436d3a50ad3bcdddbc724f7559d251327170cfe.tar.bz2
fix warning
-rw-r--r--src/plugins/bearer/corewlan/qcorewlanengine.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/bearer/corewlan/qcorewlanengine.mm b/src/plugins/bearer/corewlan/qcorewlanengine.mm
index 60c6fbd..449edbd 100644
--- a/src/plugins/bearer/corewlan/qcorewlanengine.mm
+++ b/src/plugins/bearer/corewlan/qcorewlanengine.mm
@@ -738,7 +738,7 @@ void QCoreWlanEngine::getUserConfigurations()
// add user configured system networks
SCDynamicStoreRef dynRef = SCDynamicStoreCreate(kCFAllocatorSystemDefault, (CFStringRef)@"Qt corewlan", nil, nil);
- CFDictionaryRef airportPlist = (const __CFDictionary*)SCDynamicStoreCopyValue(dynRef, (CFStringRef)[NSString stringWithFormat:@"Setup:/Network/Interface/%@/AirPort", [wifiInterface name]]);
+ NSDictionary * airportPlist = (NSDictionary *)SCDynamicStoreCopyValue(dynRef, (CFStringRef)[NSString stringWithFormat:@"Setup:/Network/Interface/%@/AirPort", [wifiInterface name]]);
CFRelease(dynRef);
NSDictionary *prefNetDict = [airportPlist objectForKey:@"PreferredNetworks"];