Index: talk/app/webrtc/sctputils_unittest.cc |
diff --git a/talk/app/webrtc/sctputils_unittest.cc b/talk/app/webrtc/sctputils_unittest.cc |
index 164f6dd23bd35888a084662f242447e43c94e0b5..e5f323aa226285cb8a010aed6e927a022784ca67 100644 |
--- a/talk/app/webrtc/sctputils_unittest.cc |
+++ b/talk/app/webrtc/sctputils_unittest.cc |
@@ -34,12 +34,12 @@ class SctpUtilsTest : public testing::Test { |
void VerifyOpenMessageFormat(const rtc::Buffer& packet, |
const std::string& label, |
const webrtc::DataChannelInit& config) { |
- uint8 message_type; |
- uint8 channel_type; |
- uint32 reliability; |
- uint16 priority; |
- uint16 label_length; |
- uint16 protocol_length; |
+ uint8_t message_type; |
+ uint8_t channel_type; |
+ uint32_t reliability; |
+ uint16_t priority; |
+ uint16_t label_length; |
+ uint16_t protocol_length; |
rtc::ByteBuffer buffer(packet.data(), packet.length()); |
ASSERT_TRUE(buffer.ReadUInt8(&message_type)); |
@@ -152,7 +152,7 @@ TEST_F(SctpUtilsTest, WriteParseAckMessage) { |
rtc::Buffer packet; |
webrtc::WriteDataChannelOpenAckMessage(&packet); |
- uint8 message_type; |
+ uint8_t message_type; |
rtc::ByteBuffer buffer(packet.data(), packet.length()); |
ASSERT_TRUE(buffer.ReadUInt8(&message_type)); |
EXPECT_EQ(0x02, message_type); |