diff options
Diffstat (limited to 'lib/compiler_rt/trunc.zig')
| -rw-r--r-- | lib/compiler_rt/trunc.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compiler_rt/trunc.zig b/lib/compiler_rt/trunc.zig index 9bb06d31e7..ea655fbb18 100644 --- a/lib/compiler_rt/trunc.zig +++ b/lib/compiler_rt/trunc.zig @@ -100,7 +100,7 @@ pub fn truncq(x: f128) callconv(.C) f128 { } pub fn truncl(x: c_longdouble) callconv(.C) c_longdouble { - switch (@typeInfo(c_longdouble).Float.bits) { + switch (@typeInfo(c_longdouble).float.bits) { 16 => return __trunch(x), 32 => return truncf(x), 64 => return trunc(x), |
