diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-02-11 16:23:24 +0100 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-02-11 21:06:00 +0100 |
commit | d40ba4adeecda74e246784eee02793ecacbecdcc (patch) | |
tree | 008bc5b7ee0b7eff1fe9721d68b9048c521b139b /tests/auto | |
parent | 784276cc726daeccbe628c2483c0a470493877bc (diff) |
Fix compiler warning: don't mix signed and unsigned int in comparison
Change-Id: Ib6609d70900a0c26dd88bbfd16e886773ae67420
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp b/tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp index 77351e95a9..119ec7a19d 100644 --- a/tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp +++ b/tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp @@ -640,7 +640,7 @@ void tst_QGlyphRun::defaultIgnorables() QList<QGlyphRun> runs = layout.glyphRuns(); QCOMPARE(runs.size(), 1); QCOMPARE(runs.at(0).glyphIndexes().size(), 1); - QCOMPARE(runs.at(0).glyphIndexes()[0], 0); + QCOMPARE(runs.at(0).glyphIndexes()[0], uint(0)); } #endif // QT_NO_RAWFONT |