mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-21 00:46:47 +00:00
Missing paren.
This commit is contained in:
+1
-1
@@ -466,7 +466,7 @@ The specified alignment must be a power of 2.
|
|||||||
*/
|
*/
|
||||||
is_aligned :: proc "contextless" (x: rawptr, align: int) -> bool {
|
is_aligned :: proc "contextless" (x: rawptr, align: int) -> bool {
|
||||||
p := uintptr(x)
|
p := uintptr(x)
|
||||||
return (p & (uintptr(align) - 1) == 0
|
return (p & (uintptr(align) - 1)) == 0
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user