diff options
Diffstat (limited to 'src/codegen/c/type.zig')
| -rw-r--r-- | src/codegen/c/type.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen/c/type.zig b/src/codegen/c/type.zig index b85daddbda..66f92c930d 100644 --- a/src/codegen/c/type.zig +++ b/src/codegen/c/type.zig @@ -1495,7 +1495,7 @@ pub const CType = extern union { } }, - .Struct, .Union => |zig_ty_tag| if (ty.containerLayout(mod) == .Packed) { + .Struct, .Union => |zig_ty_tag| if (ty.containerLayout(mod) == .@"packed") { if (mod.typeToPackedStruct(ty)) |packed_struct| { try self.initType(Type.fromInterned(packed_struct.backingIntType(ip).*), kind, lookup); } else { |
