Mercurial > hg > orthanc
diff UnitTests/main.cpp @ 235:1e0595885a81
cleaning room
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 30 Nov 2012 14:37:48 +0100 |
parents | bd934af46ba4 |
children | c9b3ba0fd140 |
line wrap: on
line diff
--- a/UnitTests/main.cpp Fri Nov 30 14:34:42 2012 +0100 +++ b/UnitTests/main.cpp Fri Nov 30 14:37:48 2012 +0100 @@ -268,7 +268,7 @@ // Open in Emacs, then save with UTF-8 encoding, then "hexdump -C" std::string utf8 = Toolbox::ConvertToUtf8(s, "ISO-8859-1"); - ASSERT_EQ(15, utf8.size()); + ASSERT_EQ(15u, utf8.size()); ASSERT_EQ(0xc3, static_cast<unsigned char>(utf8[0])); ASSERT_EQ(0xa0, static_cast<unsigned char>(utf8[1])); ASSERT_EQ(0xc3, static_cast<unsigned char>(utf8[2]));