diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-11-03 14:10:29 +0100 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2024-11-03 14:10:29 +0100 |
| commit | c33d2ff96bc2104f6b5cd794fd589ecd32687d09 (patch) | |
| tree | b1f6e8431caf864ea279a3c344b9f43a56a7a33b | |
| parent | 9199c6df3426dddff588c3347a3198e673a1dd11 (diff) | |
Missing paren.
| -rw-r--r-- | core/mem/mem.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mem/mem.odin b/core/mem/mem.odin index f00980af5..ccbc77798 100644 --- a/core/mem/mem.odin +++ b/core/mem/mem.odin @@ -466,7 +466,7 @@ The specified alignment must be a power of 2. */ is_aligned :: proc "contextless" (x: rawptr, align: int) -> bool { p := uintptr(x) - return (p & (uintptr(align) - 1) == 0 + return (p & (uintptr(align) - 1)) == 0 } /* |