From: Jason S. Ninneman Date: Sun, 4 Jun 2017 16:47:49 +0000 (-0700) Subject: Actually return a value from SETBIT(). X-Git-Tag: 1.0~16 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=3a1a3eb774bc246e8b83c6aa93e33c57eec73012;p=open-adventure.git Actually return a value from SETBIT(). --- diff --git a/misc.c b/misc.c index b7b132b..cccf182 100644 --- 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) {