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>
This commit is contained in:
Erik Verbruggen
2011-05-30 16:19:26 +02:00
committed by Roberto Raggi
parent 03047888b5
commit eadd0e4577

View File

@@ -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;
}