mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:44:43 +01:00
std.Target: Fix C long double size for amdhsa, amdpal, and mesa3d (8, not 16).
This commit is contained in:
parent
a1d3e56763
commit
eef499812c
1 changed files with 1 additions and 1 deletions
|
|
@ -2256,7 +2256,7 @@ pub fn c_type_bit_size(target: Target, c_type: CType) u16 {
|
|||
.short, .ushort => return 16,
|
||||
.int, .uint, .float => return 32,
|
||||
.long, .ulong, .longlong, .ulonglong, .double => return 64,
|
||||
.longdouble => return 128,
|
||||
.longdouble => return 64,
|
||||
},
|
||||
|
||||
.opencl, .vulkan => switch (c_type) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue