提交 bfb29b66 编写于 作者: R Rich Felker

fix missing parens in bit op macros (param.h)

上级 2e41887f
......@@ -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,&)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册