mirror of
https://github.com/samba-team/samba.git
synced 2025-01-28 17:47:29 +03:00
oops, IS_BITS_CLR_ALL() macro was wrong!
(This used to be commit a32a6f64b187e82f88eaccb6a2a88902be5cc4e0)
This commit is contained in:
parent
b6db424576
commit
5db005007a
@ -39,7 +39,7 @@
|
||||
|
||||
#define IS_BITS_SET_ALL(var,bit) (((var)&(bit))==(bit))
|
||||
#define IS_BITS_SET_SOME(var,bit) (((var)&(bit))!=0)
|
||||
#define IS_BITS_CLR_ALL(var,bit) (((var)&(~(bit)))==0)
|
||||
#define IS_BITS_CLR_ALL(var,bit) (((var)&(bit))==0)
|
||||
|
||||
#define PTR_DIFF(p1,p2) ((ptrdiff_t)(((const char *)(p1)) - (const char *)(p2)))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user