about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/sys/param.h2
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,&)