Skip to content

Commit 73dcc39

Browse files
committed
Fix macOS
1 parent 6347c87 commit 73dcc39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/os/os2/env_posix.odin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ _lookup_env_buf :: proc(buf: []u8, key: string) -> (value: string, error: Error)
3737
copy(buf, key)
3838
}
3939

40-
cval := posix.getenv(ckey)
40+
cval := posix.getenv(cstring(raw_data(buf)))
4141
if cval == nil {
4242
return
4343
}

0 commit comments

Comments
 (0)