summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLagoLunatic <LagoLunatic@users.noreply.github.com>2026-08-17 15:06:39 -0400
committerLagoLunatic <LagoLunatic@users.noreply.github.com>2026-08-17 15:06:39 -0400
commitae817a97456b355dec6af53bdfe033784707b244 (patch)
treeb1a3f3bf5cffeadcf321178c8fdab9142449e7af /include
parente3550e01e156a459b086f757fb50b0d31ef5de78 (diff)
Fix fakematches in JKRExpHeap and d_scope
Diffstat (limited to 'include')
-rw-r--r--include/global.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/global.h b/include/global.h
index 32bc78ea..b25b6ac2 100644
--- a/include/global.h
+++ b/include/global.h
@@ -9,7 +9,7 @@
// Align X to the previous N bytes (N must be power of two)
#define ALIGN_PREV(X, N) ((X) & ~((N)-1))
// Align X to the next N bytes (N must be power of two)
-#define ALIGN_NEXT(X, N) ALIGN_PREV(((X) + (N)-1), N)
+#define ALIGN_NEXT(X, N) ALIGN_PREV(((X) + (N-1)), N)
#define IS_ALIGNED(X, N) (((X) & ((N)-1)) == 0)
#define IS_NOT_ALIGNED(X, N) (((X) & ((N)-1)) != 0)