mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 01:24:49 +01:00
std.process.Args: fix Windows toSlice return type
Signed-off-by: Pablo Alessandro Santos Hugen <phugen@redhat.com>
This commit is contained in:
parent
b6714fe204
commit
78cbcd21f1
1 changed files with 1 additions and 1 deletions
|
|
@ -503,7 +503,7 @@ pub fn toSlice(a: Args, arena: Allocator) ToSliceError![][:0]const u8 {
|
|||
contents_index = new_index + 1;
|
||||
}
|
||||
|
||||
return result_slice_list;
|
||||
return @ptrCast(result_slice_list);
|
||||
} else if (native_os == .wasi and !builtin.link_libc) {
|
||||
var count: usize = undefined;
|
||||
var buf_size: usize = undefined;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue