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

Unified Diff: blimp/net/stream_packet_reader.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/stream_packet_reader.h ('k') | blimp/net/stream_packet_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/stream_packet_reader.cc
diff --git a/blimp/net/stream_packet_reader.cc b/blimp/net/stream_packet_reader.cc
index e50074865076abb84b88230070557093e2839f5e..dd91cae085b6e080841ba13d6d2b6d1a562bcd60 100644
--- a/blimp/net/stream_packet_reader.cc
+++ b/blimp/net/stream_packet_reader.cc
@@ -111,7 +111,7 @@ int StreamPacketReader::DoReadHeader(int result) {
// Finished reading the header. Parse the size and prepare for payload read.
payload_size_ = base::NetToHost32(
- *reinterpret_cast<uint32*>(header_buffer_->StartOfBuffer()));
+ *reinterpret_cast<uint32_t*>(header_buffer_->StartOfBuffer()));
if (payload_size_ > static_cast<size_t>(payload_buffer_->capacity()) ||
payload_size_ == 0) {
DLOG(ERROR) << "Illegal payload size: " << payload_size_;
« no previous file with comments | « blimp/net/stream_packet_reader.h ('k') | blimp/net/stream_packet_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698