Mercurial > hg > orthanc
diff UnitTestsSources/UnitTestsMain.cpp @ 1492:9f66a12eb8fc
fix warnings for gcc 5
author | jodogne |
---|---|
date | Tue, 04 Aug 2015 14:47:35 +0200 |
parents | 27661b33f624 |
children | 52dc56bcec7d |
line wrap: on
line diff
--- a/UnitTestsSources/UnitTestsMain.cpp Tue Aug 04 14:14:17 2015 +0200 +++ b/UnitTestsSources/UnitTestsMain.cpp Tue Aug 04 14:47:35 2015 +0200 @@ -666,15 +666,15 @@ std::vector<std::string> t; Toolbox::TokenizeString(t, "", ','); - ASSERT_EQ(1, t.size()); + ASSERT_EQ(1u, t.size()); ASSERT_EQ("", t[0]); Toolbox::TokenizeString(t, "abc", ','); - ASSERT_EQ(1, t.size()); + ASSERT_EQ(1u, t.size()); ASSERT_EQ("abc", t[0]); Toolbox::TokenizeString(t, "ab,cd,ef,", ','); - ASSERT_EQ(4, t.size()); + ASSERT_EQ(4u, t.size()); ASSERT_EQ("ab", t[0]); ASSERT_EQ("cd", t[1]); ASSERT_EQ("ef", t[2]);