From d40ba4adeecda74e246784eee02793ecacbecdcc Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Thu, 11 Feb 2021 16:23:24 +0100 Subject: Fix compiler warning: don't mix signed and unsigned int in comparison Change-Id: Ib6609d70900a0c26dd88bbfd16e886773ae67420 Reviewed-by: Thiago Macieira --- tests/auto/gui/text/qglyphrun/tst_qglyphrun.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto') 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 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 -- cgit v1.2.3