diff options
| author | Ryan Liptak <squeek502@hotmail.com> | 2024-07-29 06:07:20 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-07-29 16:06:36 -0700 |
| commit | efde3ed04a8745a567f2cb964b45e094bae59344 (patch) | |
| tree | db7e4567331df41aeb7330c953bef173065db6d4 /lib/std/Random.zig | |
| parent | d60c100eb6f1d91b3b2bb6ac38f08450c7ec8356 (diff) | |
| download | zig-efde3ed04a8745a567f2cb964b45e094bae59344.tar.gz zig-efde3ed04a8745a567f2cb964b45e094bae59344.zip | |
Fix compile error due to GetModuleFileNameW binding change
In https://github.com/ziglang/zig/pull/19641, this binding changed from `[*]u16` to `LPWSTR` which made it a sentinel-terminated pointer. This introduced a compiler error in the `std.os.windows.GetModuleFileNameW` wrapper since it takes a `[*]u16` pointer. This commit changes the binding back to what it was before instead of introducing a breaking change to `std.os.windows.GetModuleFileNameW`
Related: https://github.com/ziglang/zig/issues/20858
Diffstat (limited to 'lib/std/Random.zig')
0 files changed, 0 insertions, 0 deletions
