mirror of
https://github.com/fluencelabs/musl
synced 2025-07-31 06:11:57 +00:00
fix missing parens in bit op macros (param.h)
This commit is contained in:
@@ -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,&)
|
||||
|
Reference in New Issue
Block a user