Add parentheses to prevent GCC warning

db4
Samuel Tardieu 2009-11-08 02:01:48 +01:00
parent 2352792502
commit 351e795a52
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ struct free_heap_block
bool free_p() const
{
return header & 1 == 1;
return (header & 1) == 1;
}
cell size() const

View File

@ -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