projects
/
open-adventure.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83048ee
)
Actually return a value from SETBIT().
42/head
author
Jason S. Ninneman
<jsn@mbar.us>
Sun, 4 Jun 2017 16:47:49 +0000
(09:47 -0700)
committer
Jason S. Ninneman
<jsn@mbar.us>
Sun, 4 Jun 2017 16:47:49 +0000
(09:47 -0700)
misc.c
patch
|
blob
|
history
diff --git
a/misc.c
b/misc.c
index b7b132b9c3d9370bbf508ab086e90e6246fc24b5..cccf182b965d537aab3fd4109093cb982bfb1881 100644
(file)
--- a/
misc.c
+++ b/
misc.c
@@
-608,7
+608,7
@@
L2: AT=I;
long SETBIT(long bit) {
/* Returns 2**bit for use in constructing bit-masks. */
-
2 << bit
;
+
return(2 << bit)
;
}
bool TSTBIT(long mask, int bit) {