Index: net/quic/quic_packet_creator_test.cc |
diff --git a/net/quic/quic_packet_creator_test.cc b/net/quic/quic_packet_creator_test.cc |
index 4a85376d2a6108f16d194e4818216e7169a0ec63..25cc3dc9727d0734afbbd28e3348253fbcd466d1 100644 |
--- a/net/quic/quic_packet_creator_test.cc |
+++ b/net/quic/quic_packet_creator_test.cc |
@@ -6,6 +6,7 @@ |
#include <stdint.h> |
+#include "base/macros.h" |
#include "base/stl_util.h" |
#include "net/quic/crypto/null_encrypter.h" |
#include "net/quic/crypto/quic_decrypter.h" |
@@ -1249,7 +1250,7 @@ TEST_P(QuicPacketCreatorTest, EntropyFlag) { |
(mock_random_.RandUint64() & (UINT64_C(1) << j)) != 0; |
bool observed_rand_bool = |
(serialized.entropy_hash & (1 << ((j + 1) % 8))) != 0; |
- uint8 rest_of_hash = serialized.entropy_hash & ~(1 << ((j + 1) % 8)); |
+ uint8_t rest_of_hash = serialized.entropy_hash & ~(1 << ((j + 1) % 8)); |
EXPECT_EQ(expected_rand_bool, observed_rand_bool); |
EXPECT_EQ(0, rest_of_hash); |
delete serialized.packet; |