summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2011-06-06 12:48:55 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2011-06-06 12:48:55 (GMT)
commit72bd10eed1f15d8ef3c233acb51212f18bc02f35 (patch)
treea9e69cb8754ca771a42baa021c67d5f4d892b924 /src/gui/text
parent6cc648cd21b31c79660661ca986e488215c6b846 (diff)
parent5786c9c3d320fbd5854b883155ade2e834d0e32b (diff)
downloadQt-72bd10eed1f15d8ef3c233acb51212f18bc02f35.zip
Qt-72bd10eed1f15d8ef3c233acb51212f18bc02f35.tar.gz
Qt-72bd10eed1f15d8ef3c233acb51212f18bc02f35.tar.bz2
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-releng-team
* 'master' of git://scm.dev.nokia.troll.no/qt/qt-releng-team: (46 commits) Fixed compile of tst_qscriptextensionplugin on some Windows configurations drop the SysV semaphores -specific code out from QWSSignalHandler minor refactoring of the QWSLock class simplify the code by using the EINTR_LOOP macro simplify the semaphores initialization minor refactoring of the QLock class add a warning on an incorrect usage of QLock make sure we really clear all locks fix build with QT_NO_QWS_SIGNALHANDLER use a printErr() function instead of std::cerr like in lupdate Re-apply licenseheader text in source files for qt4.8 Fix build in C++0x mode skip the ipv6 Host checking for the moment, since it fails on Windows XP. will fix later Added some of my Qt 4.8 changes to the changelog remove duplicate message Update bearer startup code in network autotests symbian socket engine: share ip address conversion code fix "Host" header of ipv6 URLs in QNAM uic: Use QString::fromUtf8 for QUrl properties. license header check: fix exception for URL TLD table ...
Diffstat (limited to 'src/gui/text')
-rw-r--r--src/gui/text/qfontdatabase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qfontdatabase.cpp b/src/gui/text/qfontdatabase.cpp
index 7a8a912..98186df 100644
--- a/src/gui/text/qfontdatabase.cpp
+++ b/src/gui/text/qfontdatabase.cpp
@@ -879,10 +879,10 @@ QStringList QFontDatabasePrivate::addTTFile(const QByteArray &file, const QByteA
TT_OS2 *os2 = (TT_OS2 *)FT_Get_Sfnt_Table(face, ft_sfnt_os2);
if (os2) {
quint32 unicodeRange[4] = {
- os2->ulUnicodeRange1, os2->ulUnicodeRange2, os2->ulUnicodeRange3, os2->ulUnicodeRange4
+ static_cast<quint32>(os2->ulUnicodeRange1), static_cast<quint32>(os2->ulUnicodeRange2), static_cast<quint32>(os2->ulUnicodeRange3), static_cast<quint32>(os2->ulUnicodeRange4)
};
quint32 codePageRange[2] = {
- os2->ulCodePageRange1, os2->ulCodePageRange2
+ static_cast<quint32>(os2->ulCodePageRange1), static_cast<quint32>(os2->ulCodePageRange2)
};
writingSystems = qt_determine_writing_systems_from_truetype_bits(unicodeRange, codePageRange);