diff --git a/vm/free_list.hpp b/vm/free_list.hpp index ad880b92d0..2f03b531fd 100644 --- a/vm/free_list.hpp +++ b/vm/free_list.hpp @@ -9,7 +9,7 @@ struct free_heap_block bool free_p() const { - return header & 1 == 1; + return (header & 1) == 1; } cell size() const diff --git a/vm/layouts.hpp b/vm/layouts.hpp index ff7ccbf3c0..831cc387d2 100644 --- a/vm/layouts.hpp +++ b/vm/layouts.hpp @@ -147,7 +147,7 @@ struct object { to do anything with it if its free */ bool free_p() const { - return h.value & 1 == 1; + return (h.value & 1) == 1; } }; @@ -221,7 +221,7 @@ struct code_block bool free_p() const { - return header & 1 == 1; + return (header & 1) == 1; } code_block_type type() const