Commit a263ca26 authored by Marko Mäkelä's avatar Marko Mäkelä

Fix GCC -Wparentheses

parent 138cbec5
......@@ -2660,7 +2660,7 @@ bool page_apply_insert_dynamic(const buf_block_t &block, bool reuse,
buf+= hdr_c;
*buf++= (enc_hdr_l & 3) << 4; /* info_bits; n_owned=0 */
*buf++= static_cast<byte>(h >> 5); /* MSB of heap number */
h= (h & (1U << 5) - 1) << 3;
h= (h & ((1U << 5) - 1)) << 3;
static_assert(REC_STATUS_ORDINARY == 0, "compatibility");
static_assert(REC_STATUS_INSTANT == 4, "compatibility");
if (page_is_leaf(block.frame))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment