Explorar el Código

Missing paren.

Jeroen van Rijn hace 10 meses
padre
commit
1a13322cd7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
 }
 
 /*