diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-05-03 20:40:54 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-06-10 20:40:04 -0700 |
| commit | 9d422bff18dbb92d3a6b8705c3dae7404a34bba6 (patch) | |
| tree | a8ddd594c5e334ecea3f0c9fb2822b57016c7201 /src/codegen | |
| parent | 85c69c51945d7fb5d4cd2dea03fdb7915ecc55fa (diff) | |
| download | zig-9d422bff18dbb92d3a6b8705c3dae7404a34bba6.tar.gz zig-9d422bff18dbb92d3a6b8705c3dae7404a34bba6.zip | |
stage2: move all integer types to InternPool
Diffstat (limited to 'src/codegen')
| -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 d248753670..27fa997fd3 100644 --- a/src/codegen/c/type.zig +++ b/src/codegen/c/type.zig @@ -1471,7 +1471,7 @@ pub const CType = extern union { else info.pointee_type; - if (if (info.size == .C and pointee_ty.tag() == .u8) + if (if (info.size == .C and pointee_ty.ip_index == .u8_type) Tag.char.toIndex() else try lookup.typeToIndex(pointee_ty, .forward)) |child_idx| |
