We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 228e235 commit 8525413Copy full SHA for 8525413
src/main.zig
@@ -31,7 +31,7 @@ pub fn main() !void {
31
switch (builtin.os.tag) {
32
.windows => old: {
33
const old = std.os.windows.peb().ProcessParameters.Environment;
34
- std.os.windows.peb().ProcessParameters.Environment = environ.ptr;
+ std.os.windows.peb().ProcessParameters.Environment = @ptrCast(environ.ptr);
35
break :old old;
36
},
37
.linux, .macos => old: {
0 commit comments