From 8511af817034267ecdf6cba75351429ad884a4c5 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 9 Jun 2024 20:11:39 -0400 Subject: kernel: param: Expand supported bit width Signed-off-by: Ian Moffett --- sys/include/sys/param.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/include/sys/param.h b/sys/include/sys/param.h index 483dc15..612e282 100644 --- a/sys/include/sys/param.h +++ b/sys/include/sys/param.h @@ -37,7 +37,7 @@ /* Bit related macros */ #define ISSET(v, f) ((v) & (f)) -#define BIT(n) (1 << (n)) +#define BIT(n) (1ULL << (n)) /* Min/max macros */ #define MIN(a,b) (((a) < (b)) ? (a) : (b)) -- cgit v1.2.3