| author | |
| committer | |
| log | cf7ffbf82d9322890862b164885bd56be9104dfa |
| tree | 3294d08996c153b1c8d44b432b84e30151940b55 |
| parent | 12e5a6909f82694d6686d7bf5fd5bf9c7f369e04 |
| signature | Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM |
1 files changed, 4 insertions(+), 1 deletions(-)
lib/std/Io.zig+4-1| ... | ... | @@ -333,7 +333,10 @@ pub const Operation = union(enum) { |
| 333 | 333 | else => struct { |
| 334 | 334 | file: File, |
| 335 | 335 | /// Device-dependent operation code. |
| 336 | code: u32, | |
| 336 | code: switch (builtin.target.os.tag) { | |
| 337 | .dragonfly, .freebsd, .openbsd => usize, | |
| 338 | else => u32, | |
| 339 | }, | |
| 337 | 340 | arg: ?*anyopaque, |
| 338 | 341 | |
| 339 | 342 | /// Device and operation dependent result. Negative values are |