Sfoglia il codice sorgente

Fix code alignment in futex_darwin.odin

Co-authored-by: Feoramund <[email protected]>
Pyry Kovanen 1 anno fa
parent
commit
4d6f7dcac0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      core/sync/futex_darwin.odin

+ 1 - 1
core/sync/futex_darwin.odin

@@ -12,7 +12,7 @@ foreign System {
 	// __ulock_wait is not available on 10.15
 	// See https://github.com/odin-lang/Odin/issues/1959
 	__ulock_wait  :: proc "c" (operation: u32, addr: rawptr, value: u64, timeout_us: u32) -> c.int ---
-	__ulock_wait2  :: proc "c" (operation: u32, addr: rawptr, value: u64, timeout_ns: u64, value2: u64) -> c.int ---
+	__ulock_wait2 :: proc "c" (operation: u32, addr: rawptr, value: u64, timeout_ns: u64, value2: u64) -> c.int ---
 	__ulock_wake  :: proc "c" (operation: u32, addr: rawptr, wake_value: u64) -> c.int ---
 }