From c2dd609539d4160ae0dbc8cd53d179a86ceee9eb Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Sat, 15 Sep 2018 21:00:33 +0200 Subject: [PATCH] fix integer constant type --- alib2algo/test-src/stringology/exact/stringMatchTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alib2algo/test-src/stringology/exact/stringMatchTest.cpp b/alib2algo/test-src/stringology/exact/stringMatchTest.cpp index 8e3c28a215..cc261c88c9 100644 --- a/alib2algo/test-src/stringology/exact/stringMatchTest.cpp +++ b/alib2algo/test-src/stringology/exact/stringMatchTest.cpp @@ -17,6 +17,6 @@ void stringMatchTest::testStringMatch() { string::LinearString < > linear1({DefaultSymbolType(0), DefaultSymbolType(1), DefaultSymbolType(2), DefaultSymbolType(3)}); string::LinearString < > linear2({DefaultSymbolType(1), DefaultSymbolType(2), DefaultSymbolType(3)}); - CPPUNIT_ASSERT ( stringology::exact::ExactFactorMatch::match ( linear1, linear2 ).count ( 1 ) ); + CPPUNIT_ASSERT ( stringology::exact::ExactFactorMatch::match ( linear1, linear2 ).count ( 1u ) ); } -- GitLab