Index: net/spdy/hpack/hpack_huffman_table.cc |
diff --git a/net/spdy/hpack/hpack_huffman_table.cc b/net/spdy/hpack/hpack_huffman_table.cc |
index e29e1c4debd675411f20bf4742caf0a974f9bb74..8a6b7235570004cf3bbad20efe9acc6259bafbe0 100644 |
--- a/net/spdy/hpack/hpack_huffman_table.cc |
+++ b/net/spdy/hpack/hpack_huffman_table.cc |
@@ -169,7 +169,8 @@ void HpackHuffmanTable::BuildDecodeTables(const std::vector<Symbol>& symbols) { |
if (entry.length != 0 && entry.length < total_indexed) { |
// The difference between entry & table bit counts tells us how |
// many additional entries map to this one. |
- size_t fill_count = 1 << (total_indexed - entry.length); |
+ size_t fill_count = static_cast<size_t>(1) |
+ << (total_indexed - entry.length); |
CHECK_LE(j + fill_count, table.size()); |
for (size_t k = 1; k != fill_count; k++) { |