Skip to content

Commit 6b8c754

Browse files
committed
fix 32 bit compilation
1 parent 4f1e5f7 commit 6b8c754

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Compilation.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3849,7 +3849,7 @@ fn docsCopyFallible(comp: *Compilation) anyerror!void {
38493849

38503850
const header_bytes = std.mem.asBytes(&file_header);
38513851
const padding = p: {
3852-
const remainder = stat.size % 512;
3852+
const remainder: u16 = @intCast(stat.size % 512);
38533853
const n = if (remainder > 0) 512 - remainder else 0;
38543854
break :p padding_buffer[0..n];
38553855
};

0 commit comments

Comments
 (0)