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

Unified Diff: blimp/net/stream_packet_writer.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.cc ('k') | blimp/net/tcp_transport_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/net/stream_packet_writer.cc
diff --git a/blimp/net/stream_packet_writer.cc b/blimp/net/stream_packet_writer.cc
index 943f9a9d403e1be6042c9750275e2d3c26609aa6..0c01d76cab368dd14baa72317caf777316dac4ce 100644
--- a/blimp/net/stream_packet_writer.cc
+++ b/blimp/net/stream_packet_writer.cc
@@ -55,7 +55,7 @@ void StreamPacketWriter::WritePacket(scoped_refptr<net::DrainableIOBuffer> data,
write_state_ = WriteState::HEADER;
header_buffer_->SetOffset(0);
- *reinterpret_cast<uint32*>(header_buffer_->data()) =
+ *reinterpret_cast<uint32_t*>(header_buffer_->data()) =
base::HostToNet32(data->BytesRemaining());
payload_buffer_ = data;
« no previous file with comments | « blimp/net/stream_packet_reader.cc ('k') | blimp/net/tcp_transport_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698