소스 검색

Missing paren.

Jeroen van Rijn 10 달 전
부모
커밋
1a13322cd7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/mem/mem.odin

+ 1 - 1
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
 }
 
 /*