Missing paren.

This commit is contained in:
Jeroen van Rijn
2024-11-03 14:10:29 +01:00
parent 9199c6df34
commit c33d2ff96b

View File

@@ -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
}
/*