mirror of
https://github.com/ziglang/zig.git
synced 2026-12-05 19:18:46 -05:00
compiler: fix compilation for 32-bit targets
This commit is contained in:
1 parent
2e5d13e9cf
commit
55bc8a7fa9
3 files changed
+4
-3
No files matched your search
+1
-1
@@ -6657,7 +6657,7 @@ pub fn structFieldAlignmentExtern(mod: *Module, field_ty: Type) Alignment {
|
||||
pub fn structPackedFieldBitOffset(
|
||||
mod: *Module,
|
||||
struct_type: InternPool.Key.StructType,
|
||||
field_index: usize,
|
||||
field_index: u32,
|
||||
) u16 {
|
||||
const ip = &mod.intern_pool;
|
||||
assert(struct_type.layout == .Packed);
|
||||
|
||||
Reference in new issue
Block a user