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

Unified Diff: blimp/net/test_common.cc

Issue 1538253002: Switch to standard integer types in blimp/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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
« no previous file with comments | « blimp/net/test_common.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/test_common.cc
diff --git a/blimp/net/test_common.cc b/blimp/net/test_common.cc
index 888841ae452eafcf284c7e326f0bd834054fb9f8..e6cd9564527b63377d7286593eaa5c62c4f39fdb 100644
--- a/blimp/net/test_common.cc
+++ b/blimp/net/test_common.cc
@@ -67,7 +67,7 @@ void MockBlimpMessageProcessor::ProcessMessage(
std::string EncodeHeader(size_t size) {
scoped_ptr<char[]> serialized(new char[kPacketHeaderSizeBytes]);
- uint32 net_size = base::HostToNet32(size);
+ uint32_t net_size = base::HostToNet32(size);
memcpy(serialized.get(), &net_size, sizeof(net_size));
return std::string(serialized.get(), kPacketHeaderSizeBytes);
}
« no previous file with comments | « blimp/net/test_common.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698