diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2022-12-27 13:51:19 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2023-01-05 21:01:22 +0200 |
commit | 2ed4e5d37dabec3859c2afc2037eeb7baf183789 (patch) | |
tree | 9a4a980de84367be1383d8161319bd32149d5cd6 /tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp | |
parent | 6f7d09677a0759328bd27388c320ff60b45c6aff (diff) |
Fix two compiler warnings
Comparing singed/usigned ints.
Use override keyword.
Change-Id: I03d2c4359e0600360ebcfece593a3b125e5c9c53
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp')
-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 9660d829b8..9bc9391989 100644 --- a/tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp +++ b/tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp @@ -967,7 +967,7 @@ void tst_QGlyphRun::objectReplacementCharacter() QList<QGlyphRun> glyphRuns = layout.glyphRuns(); QCOMPARE(glyphRuns.size(), 1); QCOMPARE(glyphRuns.first().glyphIndexes().size(), 1); - QCOMPARE(glyphRuns.first().glyphIndexes().first(), 5); + QCOMPARE(glyphRuns.first().glyphIndexes().first(), uint(5)); } #endif // QT_NO_RAWFONT |