authorgravatar for liljaanton2001@gmail.comantlilja <liljaanton2001@gmail.com> 2020-12-08 22:08:41+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-12-08 17:10:55-07:00
log40e37d4324dd4e74c2a3285a73942b6ae50d003e
tree86ec3499b57617da60cb6723ee80d29a054a428c
parent1ec0261518a8a0e302ebba28c96c4956ba323ce7

Change tag returned by zigTagType for c_longdouble to Float.

Function was returning Int before.

1 files changed, 1 insertions(+), 1 deletions(-)

src/type.zig+1-1
......@@ -38,7 +38,6 @@ pub const Type = extern union {
3838 .c_ulong,
3939 .c_longlong,
4040 .c_ulonglong,
41 .c_longdouble,
4241 .int_signed,
4342 .int_unsigned,
4443 => return .Int,
......@@ -47,6 +46,7 @@ pub const Type = extern union {
4746 .f32,
4847 .f64,
4948 .f128,
49 .c_longdouble,
5050 => return .Float,
5151
5252 .c_void => return .Opaque,