Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: talk/media/base/rtpdataengine_unittest.cc

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase + revert basictypes.h (to be landed separately just in case of a revert due to unexpected us… Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « talk/media/base/rtpdataengine.cc ('k') | talk/media/base/rtpdump.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: talk/media/base/rtpdataengine_unittest.cc
diff --git a/talk/media/base/rtpdataengine_unittest.cc b/talk/media/base/rtpdataengine_unittest.cc
index 53648df3fa854c2cba72ef60b0dbad7134351002..38cc2c67e564e204b1c7f68dad013275c398f380 100644
--- a/talk/media/base/rtpdataengine_unittest.cc
+++ b/talk/media/base/rtpdataengine_unittest.cc
@@ -302,8 +302,8 @@ TEST_F(RtpDataMediaChannelTest, SendData) {
cricket::RtpHeader header1 = GetSentDataHeader(1);
EXPECT_EQ(header1.ssrc, 42U);
EXPECT_EQ(header1.payload_type, 103);
- EXPECT_EQ(static_cast<uint16>(header0.seq_num + 1),
- static_cast<uint16>(header1.seq_num));
+ EXPECT_EQ(static_cast<uint16_t>(header0.seq_num + 1),
+ static_cast<uint16_t>(header1.seq_num));
EXPECT_EQ(header0.timestamp + 180000, header1.timestamp);
}
@@ -362,11 +362,11 @@ TEST_F(RtpDataMediaChannelTest, SendDataMultipleClocks) {
cricket::RtpHeader header1b = GetSentDataHeader(2);
cricket::RtpHeader header2b = GetSentDataHeader(3);
- EXPECT_EQ(static_cast<uint16>(header1a.seq_num + 1),
- static_cast<uint16>(header1b.seq_num));
+ EXPECT_EQ(static_cast<uint16_t>(header1a.seq_num + 1),
+ static_cast<uint16_t>(header1b.seq_num));
EXPECT_EQ(header1a.timestamp + 90000, header1b.timestamp);
- EXPECT_EQ(static_cast<uint16>(header2a.seq_num + 1),
- static_cast<uint16>(header2b.seq_num));
+ EXPECT_EQ(static_cast<uint16_t>(header2a.seq_num + 1),
+ static_cast<uint16_t>(header2b.seq_num));
EXPECT_EQ(header2a.timestamp + 180000, header2b.timestamp);
}
« no previous file with comments | « talk/media/base/rtpdataengine.cc ('k') | talk/media/base/rtpdump.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698