mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 13:58:27 +00:00
fix regression in std.os.dirent64 on linux
This commit is contained in:
parent
00382f6dae
commit
081c62fc00
@ -988,7 +988,7 @@ pub const dirent64 = extern struct {
|
||||
d_type: u8,
|
||||
d_name: u8, // field address is the address of first byte of name https://github.com/ziglang/zig/issues/173
|
||||
|
||||
pub fn reclen(self: dirent) u16 {
|
||||
pub fn reclen(self: dirent64) u16 {
|
||||
return self.d_reclen;
|
||||
}
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user