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

Unified Diff: net/spdy/spdy_frame_builder.h

Issue 786123002: Update from https://crrev.com/307330 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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 | « net/spdy/hpack_huffman_table_test.cc ('k') | net/spdy/spdy_frame_reader_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_frame_builder.h
diff --git a/net/spdy/spdy_frame_builder.h b/net/spdy/spdy_frame_builder.h
index 7aa6db4b650b7434af9f17a05d64d1af2b874ea2..bd709770c702a7e856f635b2f00c3d6aa2aa7d64 100644
--- a/net/spdy/spdy_frame_builder.h
+++ b/net/spdy/spdy_frame_builder.h
@@ -106,7 +106,7 @@ class NET_EXPORT_PRIVATE SpdyFrameBuilder {
}
bool WriteUInt64(uint64 value) {
uint32 upper = htonl(value >> 32);
- uint32 lower = htonl(value);
+ uint32 lower = htonl(static_cast<uint32>(value));
return (WriteBytes(&upper, sizeof(upper)) &&
WriteBytes(&lower, sizeof(lower)));
}
« no previous file with comments | « net/spdy/hpack_huffman_table_test.cc ('k') | net/spdy/spdy_frame_reader_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698