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

Unified Diff: tools/android/common/net.cc

Issue 684133002: [Android] Fix gn build for instrumentation tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Follow review Created 6 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 | « tools/android/common/common.gyp ('k') | tools/android/forwarder2/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/android/common/net.cc
diff --git a/tools/android/common/net.cc b/tools/android/common/net.cc
index 3b9ef15bc399ed08fd2637724d55c56c2e41cdb9..a535656d62d075c439209faae21cf92ab95712db 100644
--- a/tools/android/common/net.cc
+++ b/tools/android/common/net.cc
@@ -25,7 +25,7 @@ int DeferAccept(int socket) {
std::string DumpBinary(const char* buffer, size_t length) {
std::string result = "[";
- for (int i = 0; i < length; ++i) {
+ for (size_t i = 0; i < length; ++i) {
base::StringAppendF(&result, "%02x,",
static_cast<unsigned char>(buffer[i]));
}
« no previous file with comments | « tools/android/common/common.gyp ('k') | tools/android/forwarder2/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698