From eadd0e45774873f97e4206744bc3995c7936877b Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Mon, 30 May 2011 16:19:26 +0200 Subject: [PATCH] Fixed compile problem on Mac. Change-Id: I411d30b6b269c42f221cf2ee8dbe0f041a7a1829 Reviewed-on: http://codereview.qt.nokia.com/240 Reviewed-by: Qt Sanity Bot Reviewed-by: Roberto Raggi --- src/shared/symbianutils/symbiandevicemanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/symbianutils/symbiandevicemanager.cpp b/src/shared/symbianutils/symbiandevicemanager.cpp index 8ef371d24c9..b3292467308 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(result.data())); + CFStringGetCharacters(cfstring, CFRangeMake(0, len), reinterpret_cast(result.data())); return result; }