summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/qa/cppunit/blocklistparsertest.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/qa/cppunit/blocklistparsertest.cxx b/vcl/qa/cppunit/blocklistparsertest.cxx
index 66a4f7051651..b47b518a7d65 100644
--- a/vcl/qa/cppunit/blocklistparsertest.cxx
+++ b/vcl/qa/cppunit/blocklistparsertest.cxx
@@ -39,7 +39,8 @@ void BlocklistParserTest::testParse()
WinBlocklistParser aBlocklistParser(getURLFromSrc("vcl/qa/cppunit/") + "test_blocklist_parse.xml", aDriveInfos);
aBlocklistParser.parse();
- CPPUNIT_ASSERT_EQUAL(20U, aDriveInfos.size());
+ auto const n = aDriveInfos.size();
+ CPPUNIT_ASSERT_EQUAL(static_cast<decltype(n)>(20), n);
size_t i = 0;