Correct the definition of SETBIT.
The semantics were first changed in aef60929
(technically broken
in that commit as well). Luckily, it seems not to be used much.
This commit is contained in:
parent
ebfe3e49fa
commit
c8a2312755
1 changed files with 1 additions and 1 deletions
2
misc.c
2
misc.c
|
@ -606,7 +606,7 @@ long ATDWRF(long where)
|
|||
long SETBIT(long bit)
|
||||
/* Returns 2**bit for use in constructing bit-masks. */
|
||||
{
|
||||
return(2 << bit);
|
||||
return(1 << bit);
|
||||
}
|
||||
|
||||
bool TSTBIT(long mask, int bit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue