diff options
Diffstat (limited to 'gtest/samples/sample2_unittest.cc')
-rw-r--r-- | gtest/samples/sample2_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtest/samples/sample2_unittest.cc b/gtest/samples/sample2_unittest.cc index e1d7910..32232d9 100644 --- a/gtest/samples/sample2_unittest.cc +++ b/gtest/samples/sample2_unittest.cc @@ -71,7 +71,7 @@ TEST(MyString, DefaultConstructor) { // </TechnicalDetails> EXPECT_STREQ(NULL, s.c_string()); - EXPECT_EQ(0, s.Length()); + EXPECT_EQ(0u, s.Length()); } const char kHelloString[] = "Hello, world!"; |