Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
planetis-m committed Jun 20, 2024
1 parent 36a6eaa commit fffeebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rmem.nim
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ proc `=copy`*(dest: var BiStack; source: BiStack) {.error.}
# Module specific Functions Declaration

proc alignSize*(size, align: int): int {.inline.} =
result = (size + (align - 1)) and -align
result = (size + align - 1) and not (align - 1)

proc splitMemNode(node: MemNode, bytes: int): MemNode =
let n = cast[uint](node)
Expand Down

0 comments on commit fffeebd

Please sign in to comment.