summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-09 20:11:39 -0400
committerIan Moffett <ian@osmora.org>2024-06-09 20:11:39 -0400
commit8511af817034267ecdf6cba75351429ad884a4c5 (patch)
tree0bd74fcdb6cc56afc15cdcb90da5ee1cf1b4fe24
parent495d6670fff76a17f79bb96956bbb0589225cdae (diff)
kernel: param: Expand supported bit width
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--sys/include/sys/param.h2
1 files changed, 1 insertions, 1 deletions
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))