summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-01-25 18:57:28 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-01-25 18:57:28 (GMT)
commit43df84848006f4260d5fc461913ec75161e74eee (patch)
treecbe1258947c02c397aacf0df84f7bd77a5f7e018 /src/gui/text
parenta67be14c2280065412f00133e8a1d2bed371eac9 (diff)
parentcb38007cd3b253fb2e3a8587ae9e64080e707a31 (diff)
downloadQt-43df84848006f4260d5fc461913ec75161e74eee.zip
Qt-43df84848006f4260d5fc461913ec75161e74eee.tar.gz
Qt-43df84848006f4260d5fc461913ec75161e74eee.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-s60-public: Temporary fix for ambiguous cast from four letter char constant Fix QMAKE_POST_LINK in Symbian for targets with special characters.
Diffstat (limited to 'src/gui/text')
-rw-r--r--src/gui/text/qfontdatabase_s60.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qfontdatabase_s60.cpp b/src/gui/text/qfontdatabase_s60.cpp
index ad67189..97426a8 100644
--- a/src/gui/text/qfontdatabase_s60.cpp
+++ b/src/gui/text/qfontdatabase_s60.cpp
@@ -721,7 +721,7 @@ static inline bool ttfMarkAppFont(QByteArray &ttf, const QString &marker)
memoryRanges.append(Range(offset, lengthAligned));
quint32 checkSum = qFromBigEndian(tableRecord->checkSum);
- if (tableRecord->tag == qToBigEndian('head')) {
+ if (tableRecord->tag == qToBigEndian(static_cast<quint32>('head'))) {
if (length < ttfCheckSumAdjustmentOffset + sizeof(quint32))
return false; // Invalid 'head' table
const quint32 *checkSumAdjustmentTag =
@@ -735,7 +735,7 @@ static inline bool ttfMarkAppFont(QByteArray &ttf, const QString &marker)
bool updateTableChecksum = false;
QByteArray table;
- if (tableRecord->tag == qToBigEndian('name')) {
+ if (tableRecord->tag == qToBigEndian(static_cast<quint32>('name'))) {
table = QByteArray(ttf.constData() + offset, length);
if (!ttfMarkNameTable(table, marker))
return false; // Name table was not markable.