File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
hazelcast/src/hazelcast/client Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -103,9 +103,11 @@ zlib_compress(const std::vector<byte>& input)
103103 output.push_back (
104104 static_cast <byte>(is_final)); // BFINAL = is_final, BTYPE = 00
105105 output.push_back (block_size & 0xff ); // LEN - least significant
106- output.push_back (static_cast <byte>(block_size >> 8 )); // LEN - most significant
106+ output.push_back (
107+ static_cast <byte>(block_size >> 8 )); // LEN - most significant
107108 output.push_back ((~block_size) & 0xff ); // NLEN - least significant
108- output.push_back (static_cast <byte>((~block_size) >> 8 )); // NLEN - most significant
109+ output.push_back (
110+ static_cast <byte>((~block_size) >> 8 )); // NLEN - most significant
109111
110112 // copy uncompressed bytes and accumulate checksum
111113 for (std::size_t i = block_start; i < block_end; i++) {
You can’t perform that action at this time.
0 commit comments