zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 405b8e9eeefda07b16044690471cfd57fc654c75 (tree)
parent f47b7a043772e3adda3cd10a76894703b499210a
Author: Sebastian <Sebastianhopkins@live.com>
Date:   Sat, 18 Jan 2020 22:15:42 +0000

fixed typo - "path" lead to undeclared identifier
Diffstat:
Mlib/std/dynamic_library.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/std/dynamic_library.zig b/lib/std/dynamic_library.zig @@ -277,7 +277,7 @@ pub const WindowsDynLib = struct { } pub fn openC(path_c: [*:0]const u8) !WindowsDynLib { - const path_w = try windows.cStrToPrefixedFileW(path); + const path_w = try windows.cStrToPrefixedFileW(path_c); return openW(&path_w); }