diff options
Diffstat (limited to 'tests/preprocessor_tests/token_test.cpp')
-rw-r--r-- | tests/preprocessor_tests/token_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/preprocessor_tests/token_test.cpp b/tests/preprocessor_tests/token_test.cpp index 323d4683..22898e77 100644 --- a/tests/preprocessor_tests/token_test.cpp +++ b/tests/preprocessor_tests/token_test.cpp @@ -12,7 +12,7 @@ TEST(TokenTest, DefaultConstructor) { pp::Token token; EXPECT_EQ(0, token.type); - EXPECT_EQ(0, token.flags); + EXPECT_EQ(0u, token.flags); EXPECT_EQ(0, token.location.line); EXPECT_EQ(0, token.location.file); EXPECT_EQ("", token.text); @@ -29,7 +29,7 @@ TEST(TokenTest, Assignment) token = pp::Token(); EXPECT_EQ(0, token.type); - EXPECT_EQ(0, token.flags); + EXPECT_EQ(0u, token.flags); EXPECT_EQ(0, token.location.line); EXPECT_EQ(0, token.location.file); EXPECT_EQ("", token.text); |