Browse Source

Fix macOS

Jeroen van Rijn 2 months ago
parent
commit
73dcc39d98
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/os/os2/env_posix.odin

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