Change tag returned by zigTagType for c_longdouble to Float.

Function was returning Int before.
This commit is contained in:
antlilja
2020-12-08 22:08:41 +01:00
committed by Andrew Kelley
parent 1ec0261518
commit 40e37d4324

View File

@@ -38,7 +38,6 @@ pub const Type = extern union {
.c_ulong,
.c_longlong,
.c_ulonglong,
.c_longdouble,
.int_signed,
.int_unsigned,
=> return .Int,
@@ -47,6 +46,7 @@ pub const Type = extern union {
.f32,
.f64,
.f128,
.c_longdouble,
=> return .Float,
.c_void => return .Opaque,