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

Unified Diff: media/cast/test/sender.cc

Issue 1534273002: Switch to standard integer types in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 5 years 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
Index: media/cast/test/sender.cc
diff --git a/media/cast/test/sender.cc b/media/cast/test/sender.cc
index 5791ffe3536d4775807aee25db96f5bd99a5a9e7..6f46222e06460f403578c0d0c95c47397876ef8f 100644
--- a/media/cast/test/sender.cc
+++ b/media/cast/test/sender.cc
@@ -76,7 +76,7 @@ void QuitLoopOnInitializationResult(media::cast::OperationalStatus result) {
base::MessageLoop::current()->QuitWhenIdle();
}
-net::IPEndPoint CreateUDPAddress(const std::string& ip_str, uint16 port) {
+net::IPEndPoint CreateUDPAddress(const std::string& ip_str, uint16_t port) {
net::IPAddressNumber ip_number;
CHECK(net::ParseIPLiteralToNumber(ip_str, &ip_number));
return net::IPEndPoint(ip_number, port);
@@ -202,7 +202,7 @@ int main(int argc, char** argv) {
// Running transport on the main thread.
// Setting up transport config.
net::IPEndPoint remote_endpoint =
- CreateUDPAddress(remote_ip_address, static_cast<uint16>(remote_port));
+ CreateUDPAddress(remote_ip_address, static_cast<uint16_t>(remote_port));
// Enable raw event and stats logging.
// Running transport on the main thread.

Powered by Google App Engine
This is Rietveld 408576698