diff options
| author | Pat Tullmann <pat.github@tullmann.org> | 2025-07-19 20:31:13 -0700 |
|---|---|---|
| committer | Pat Tullmann <pat.github@tullmann.org> | 2025-08-06 22:12:41 -0700 |
| commit | caf80e90b85a2a7855c369887dce163cf036ff7e (patch) | |
| tree | 5d2ad98a6f87b5fdfcbad5adeffc9e39cbe08fd4 /src/codegen.zig | |
| parent | 04fe1bfe3ceabd632183a85101cddeeec11f0745 (diff) | |
| download | zig-caf80e90b85a2a7855c369887dce163cf036ff7e.tar.gz zig-caf80e90b85a2a7855c369887dce163cf036ff7e.zip | |
linux/mips.zig: Use `i32` for stat nsec fields
The `atime()`, etc wrappers here expect to create a `std.linux.timespec`
(defined in `linux.zig` to have `isize` fields), so the u32 causes errors:
error: expected type 'isize', found 'u32'
.nsec = self.atim_nsec,
Make the nsec fields signed for consistency with all the other structs,
with and with `std.linux.timespec`.
Also looks like the comment on `__pad1` was copied from `__pad0`, but it
only applies to `__pad0`.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
