summaryrefslogtreecommitdiffstats
path: root/tests/auto/xml/dom/qdom
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@digia.com>2013-06-07 13:56:39 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-08 10:29:34 +0200
commit9e069d95f4fc5ae32283a564b4eec12081a68644 (patch)
tree26679d3efb0bc1fce678160b1825fbc5730c8584 /tests/auto/xml/dom/qdom
parent3e56b0189558f7768524ca541cbc81a7a72ea79f (diff)
tst_qdom: Fix warning about character conversion,
warning C4309: 'argument' : truncation of constant value. Change-Id: I04262dcb71b916abeab27e7b8bc2ca6c875794d2 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Diffstat (limited to 'tests/auto/xml/dom/qdom')
-rw-r--r--tests/auto/xml/dom/qdom/tst_qdom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/xml/dom/qdom/tst_qdom.cpp b/tests/auto/xml/dom/qdom/tst_qdom.cpp
index 6b4bc3cd35..26f49a3fed 100644
--- a/tests/auto/xml/dom/qdom/tst_qdom.cpp
+++ b/tests/auto/xml/dom/qdom/tst_qdom.cpp
@@ -1705,8 +1705,8 @@ void tst_QDom::germanUmlautToByteArray() const
QByteArray baseline("<a");
/* http://www.fileformat.info/info/unicode/char/00FC/index.htm */
- baseline += 0xC3;
- baseline += 0xBC;
+ baseline += char(0xC3);
+ baseline += char(0xBC);
baseline += "b/>\n";
QCOMPARE(data, baseline);