Actually return a value from SETBIT().
This commit is contained in:
parent
83048ee832
commit
3a1a3eb774
1 changed files with 1 additions and 1 deletions
2
misc.c
2
misc.c
|
@ -608,7 +608,7 @@ L2: AT=I;
|
||||||
|
|
||||||
long SETBIT(long bit) {
|
long SETBIT(long bit) {
|
||||||
/* Returns 2**bit for use in constructing bit-masks. */
|
/* Returns 2**bit for use in constructing bit-masks. */
|
||||||
2 << bit;
|
return(2 << bit);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool TSTBIT(long mask, int bit) {
|
bool TSTBIT(long mask, int bit) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue