| ... | @@ -3849,7 +3849,7 @@ fn docsCopyFallible(comp: *Compilation) anyerror!void { | ... | @@ -3849,7 +3849,7 @@ fn docsCopyFallible(comp: *Compilation) anyerror!void { |
| 3849 | | 3849 | |
| 3850 | const header_bytes = std.mem.asBytes(&file_header); | 3850 | const header_bytes = std.mem.asBytes(&file_header); |
| 3851 | const padding = p: { | 3851 | const padding = p: { |
| 3852 | const remainder = stat.size % 512; | 3852 | const remainder: u16 = @intCast(stat.size % 512); |
| 3853 | const n = if (remainder > 0) 512 - remainder else 0; | 3853 | const n = if (remainder > 0) 512 - remainder else 0; |
| 3854 | break :p padding_buffer[0..n]; | 3854 | break :p padding_buffer[0..n]; |
| 3855 | }; | 3855 | }; |