Index: test/unittests/compiler/common-operator-unittest.cc |
diff --git a/test/unittests/compiler/common-operator-unittest.cc b/test/unittests/compiler/common-operator-unittest.cc |
index 45bb9533d05652a2b58dd7608205bb63771460ce..2d1e0dcc30694b5e0bf84b4533ae0fc38a6d5d3b 100644 |
--- a/test/unittests/compiler/common-operator-unittest.cc |
+++ b/test/unittests/compiler/common-operator-unittest.cc |
@@ -190,8 +190,9 @@ TEST_F(CommonOperatorTest, End) { |
EXPECT_EQ(Operator::kKontrol, op->properties()); |
EXPECT_EQ(0, op->ValueInputCount()); |
EXPECT_EQ(0, op->EffectInputCount()); |
- EXPECT_EQ(input_count, op->ControlInputCount()); |
- EXPECT_EQ(input_count, OperatorProperties::GetTotalInputCount(op)); |
+ EXPECT_EQ(input_count, static_cast<uint32_t>(op->ControlInputCount())); |
+ EXPECT_EQ(input_count, static_cast<uint32_t>( |
+ OperatorProperties::GetTotalInputCount(op))); |
EXPECT_EQ(0, op->ValueOutputCount()); |
EXPECT_EQ(0, op->EffectOutputCount()); |
EXPECT_EQ(0, op->ControlOutputCount()); |