From d2b7b249eb5766bd54fefb5a13cc752c0f529b17 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Tue, 3 Mar 2026 16:31:36 +0800 Subject: [PATCH] oops --- lib/system/alloc.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/system/alloc.nim b/lib/system/alloc.nim index 77025265f1..c40f808b88 100644 --- a/lib/system/alloc.nim +++ b/lib/system/alloc.nim @@ -856,7 +856,7 @@ proc bigChunkAlignOffset(alignment: int): int {.inline.} = if alignment == 0: result = 0 else: - result = align(sizeof(BigChunk) + sizeof(Cell), alignment) - sizeof(BigChunk) - sizeof(Cell) + result = align(sizeof(BigChunk) + sizeof(FreeCell), alignment) - sizeof(BigChunk) - sizeof(FreeCell) proc rawAlloc(a: var MemRegion, requestedSize: int, alignment: int = 0): pointer = when defined(nimTypeNames):