Skip to content

Commit 03da623

Browse files
committed
fix 32 bit compilation
1 parent 3ef1042 commit 03da623

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
@@ -3847,7 +3847,7 @@ fn docsCopyFallible(comp: *Compilation) anyerror!void {
38473847

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

0 commit comments

Comments
 (0)