head: sys: Increase operation size in macro
Signed-off-by: Ian Moffett <ian@mirocom.org>
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
#define PTR_NOFFSET(p, off) ((void *)(char *)(p) - (off))
|
#define PTR_NOFFSET(p, off) ((void *)(char *)(p) - (off))
|
||||||
|
|
||||||
/* Bit related macros */
|
/* Bit related macros */
|
||||||
#define BIT(n) (1 << (n))
|
#define BIT(n) (1ULL << (n))
|
||||||
#define ISSET(v, f) ((v) & (f))
|
#define ISSET(v, f) ((v) & (f))
|
||||||
|
|
||||||
/* Align up/down a value */
|
/* Align up/down a value */
|
||||||
|
|||||||
Reference in New Issue
Block a user