From 73dcc39d98396bee94b1daf586b593460fc08d3f Mon Sep 17 00:00:00 2001 From: Jeroen van Rijn Date: Mon, 16 Jun 2025 20:22:15 +0200 Subject: [PATCH] Fix macOS --- core/os/os2/env_posix.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/os/os2/env_posix.odin b/core/os/os2/env_posix.odin index b11f07314..84500d139 100644 --- a/core/os/os2/env_posix.odin +++ b/core/os/os2/env_posix.odin @@ -37,7 +37,7 @@ _lookup_env_buf :: proc(buf: []u8, key: string) -> (value: string, error: Error) copy(buf, key) } - cval := posix.getenv(ckey) + cval := posix.getenv(cstring(raw_data(buf))) if cval == nil { return }