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

Unified Diff: extensions/browser/api/cast_channel/cast_channel_api.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: 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: extensions/browser/api/cast_channel/cast_channel_api.cc
diff --git a/extensions/browser/api/cast_channel/cast_channel_api.cc b/extensions/browser/api/cast_channel/cast_channel_api.cc
index 999ca51812cc2e858561685f4fbeaa1fad7268ba..c0f882124e3df172b611f9ce48777c68e0e04bd1 100644
--- a/extensions/browser/api/cast_channel/cast_channel_api.cc
+++ b/extensions/browser/api/cast_channel/cast_channel_api.cc
@@ -4,6 +4,9 @@
#include "extensions/browser/api/cast_channel/cast_channel_api.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <limits>
#include <string>
#include <utility>
@@ -247,7 +250,7 @@ net::IPEndPoint* CastChannelOpenFunction::ParseConnectInfo(
net::IPAddressNumber ip_address;
CHECK(net::ParseIPLiteralToNumber(connect_info.ip_address, &ip_address));
return new net::IPEndPoint(ip_address,
- static_cast<uint16>(connect_info.port));
+ static_cast<uint16_t>(connect_info.port));
}
bool CastChannelOpenFunction::PrePrepare() {
« no previous file with comments | « extensions/browser/api/cast_channel/cast_channel_api.h ('k') | extensions/browser/api/cast_channel/cast_channel_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698