diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-05-10 12:10:44 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-05-10 12:10:44 -0400 |
commit | bfb29b666ed4ab2f6679e0cb0ac92b12abf0abc3 (patch) | |
tree | b2aed09ee8faa1f8bcadac3538753ca58ac96eea /include/sys/param.h | |
parent | 2e41887f54a8d01353204cb2509b4c466861e3b4 (diff) | |
download | musl-bfb29b666ed4ab2f6679e0cb0ac92b12abf0abc3.tar.gz musl-bfb29b666ed4ab2f6679e0cb0ac92b12abf0abc3.tar.bz2 musl-bfb29b666ed4ab2f6679e0cb0ac92b12abf0abc3.tar.xz musl-bfb29b666ed4ab2f6679e0cb0ac92b12abf0abc3.zip |
fix missing parens in bit op macros (param.h)
Diffstat (limited to 'include/sys/param.h')
-rw-r--r-- | include/sys/param.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/param.h b/include/sys/param.h index ddd7709a..344c0d23 100644 --- a/include/sys/param.h +++ b/include/sys/param.h @@ -18,7 +18,7 @@ #define MIN(a,b) (((a)<(b))?(a):(b)) #define MAX(a,b) (((a)>(b))?(a):(b)) -#define __bitop(x,i,o) ((x)[(i)/8] o 1<<(i)%8) +#define __bitop(x,i,o) ((x)[(i)/8] o (1<<(i)%8)) #define setbit(x,i) __bitop(x,i,|=) #define clrbit(x,i) __bitop(x,i,&=~) #define isset(x,i) __bitop(x,i,&) |