summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2011-05-30 16:19:26 +0200
committerRoberto Raggi <roberto.raggi@nokia.com>2011-05-30 16:29:55 +0200
commiteadd0e45774873f97e4206744bc3995c7936877b (patch)
treec8636c82ae5cff81771ac04517d0b326309d97f9 /src/shared
parent03047888b59eb7c7fa196368f2a20b004348210a (diff)
downloadqt-creator-eadd0e45774873f97e4206744bc3995c7936877b.tar.gz
Fixed compile problem on Mac.
Change-Id: I411d30b6b269c42f221cf2ee8dbe0f041a7a1829 Reviewed-on: http://codereview.qt.nokia.com/240 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/symbianutils/symbiandevicemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/symbianutils/symbiandevicemanager.cpp b/src/shared/symbianutils/symbiandevicemanager.cpp
index 8ef371d24c..b329246730 100644
--- a/src/shared/symbianutils/symbiandevicemanager.cpp
+++ b/src/shared/symbianutils/symbiandevicemanager.cpp
@@ -582,7 +582,7 @@ QString CFStringToQString(CFStringRef cfstring)
QString result;
int len = CFStringGetLength(cfstring);
result.resize(len);
- CFStringGetCharacters(cfstring, CFRangeMake(0, len), static_cast<UniChar *>(result.data()));
+ CFStringGetCharacters(cfstring, CFRangeMake(0, len), reinterpret_cast<UniChar *>(result.data()));
return result;
}