| ... | @@ -333,7 +333,10 @@ pub const Operation = union(enum) { | ... | @@ -333,7 +333,10 @@ pub const Operation = union(enum) { |
| 333 | else => struct { | 333 | else => struct { |
| 334 | file: File, | 334 | file: File, |
| 335 | /// Device-dependent operation code. | 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 | arg: ?*anyopaque, | 340 | arg: ?*anyopaque, |
| 338 | | 341 | |
| 339 | /// Device and operation dependent result. Negative values are | 342 | /// Device and operation dependent result. Negative values are |