summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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))