summaryrefslogtreecommitdiff
path: root/include/al/macros.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/al/macros.h')
-rw-r--r--include/al/macros.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/al/macros.h b/include/al/macros.h
index fbf3f7e..6e71387 100644
--- a/include/al/macros.h
+++ b/include/al/macros.h
@@ -82,10 +82,11 @@
#error "Conflicting definitions for byte size macros"
#endif
+// It's the user's responsibility to worry about type size here.
#define KB(n) ((n) << 10)
#define MB(n) ((n) << 20)
#define GB(n) ((n) << 30)
-#define TB(n) (((u64)n) << 40)
+#define TB(n) ((n) << 40)
//#if defined __counted_by || defined __sized_by
#if defined __sized_by