summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2009-06-09 10:17:03 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2009-06-09 12:54:49 (GMT)
commit5039d39f3af42d23bba1f1c0ae10365ebcd82b4a (patch)
treee8e925b0aa39e15b613dd4f0a08f5e45b0a86451
parent7cd3e8233090f2937e38aff846a30635bcd14eb6 (diff)
downloadQt-5039d39f3af42d23bba1f1c0ae10365ebcd82b4a.zip
Qt-5039d39f3af42d23bba1f1c0ae10365ebcd82b4a.tar.gz
Qt-5039d39f3af42d23bba1f1c0ae10365ebcd82b4a.tar.bz2
small change to reduce static data size
-rw-r--r--src/corelib/kernel/qvariant.cpp2
-rw-r--r--src/gui/text/qtexthtmlparser.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qvariant.cpp b/src/corelib/kernel/qvariant.cpp
index 2ff9818..e6f1c48 100644
--- a/src/corelib/kernel/qvariant.cpp
+++ b/src/corelib/kernel/qvariant.cpp
@@ -1823,7 +1823,7 @@ QVariant::Type QVariant::nameToType(const char *name)
#ifndef QT_NO_DATASTREAM
enum { MapFromThreeCount = 35 };
-static const uint map_from_three[MapFromThreeCount] =
+static const ushort map_from_three[MapFromThreeCount] =
{
QVariant::Invalid,
QVariant::Map,
diff --git a/src/gui/text/qtexthtmlparser.cpp b/src/gui/text/qtexthtmlparser.cpp
index ee743dc..76c59c3 100644
--- a/src/gui/text/qtexthtmlparser.cpp
+++ b/src/gui/text/qtexthtmlparser.cpp
@@ -343,7 +343,7 @@ static QChar resolveEntity(const QString &entity)
return e->code;
}
-static const uint windowsLatin1ExtendedCharacters[0xA0 - 0x80] = {
+static const ushort windowsLatin1ExtendedCharacters[0xA0 - 0x80] = {
0x20ac, // 0x80
0x0081, // 0x81 direct mapping
0x201a, // 0x82