Fix test so it compiles in chromium gfe-relnote: N/A just a test. PiperOrigin-RevId: 244358986 Change-Id: Icc10b59e7c037b645656b6dfaf044ffc6863ec46
diff --git a/quic/core/http/http_decoder_test.cc b/quic/core/http/http_decoder_test.cc index b0a3f6b..d37cdd4 100644 --- a/quic/core/http/http_decoder_test.cc +++ b/quic/core/http/http_decoder_test.cc
@@ -80,7 +80,7 @@ EXPECT_EQ(3u, decoder_.ProcessInput(in, QUIC_ARRAYSIZE(in))); EXPECT_EQ(QUIC_NO_ERROR, decoder_.error()); ASSERT_EQ("", decoder_.error_detail()); - EXPECT_EQ(0xB + 0x1F * 3, decoder_.current_frame_type()); + EXPECT_EQ(0xB + 0x1F * 3u, decoder_.current_frame_type()); } TEST_F(HttpDecoderTest, ReservedFramesSmallPayload) { @@ -113,7 +113,7 @@ EXPECT_EQ(QUIC_ARRAYSIZE(in), decoder_.ProcessInput(in, QUIC_ARRAYSIZE(in))); EXPECT_EQ(QUIC_NO_ERROR, decoder_.error()); ASSERT_EQ("", decoder_.error_detail()); - EXPECT_EQ(0xB + 0x1F * 3, decoder_.current_frame_type()); + EXPECT_EQ(0xB + 0x1F * 3u, decoder_.current_frame_type()); } TEST_F(HttpDecoderTest, ReservedFramesLargePayload) { @@ -147,7 +147,7 @@ EXPECT_EQ(QUIC_ARRAYSIZE(in), decoder_.ProcessInput(in, QUIC_ARRAYSIZE(in))); EXPECT_EQ(QUIC_NO_ERROR, decoder_.error()); ASSERT_EQ("", decoder_.error_detail()); - EXPECT_EQ(0xB + 0x1F * 3, decoder_.current_frame_type()); + EXPECT_EQ(0xB + 0x1F * 3u, decoder_.current_frame_type()); } TEST_F(HttpDecoderTest, CancelPush) {