From 8f646daed6d73fad4adf2b677b1b47f8b23f2d6c Mon Sep 17 00:00:00 2001 From: antlilja Date: Tue, 8 Dec 2020 22:08:41 +0100 Subject: [PATCH] Change tag returned by zigTagType for c_longdouble to Float. Function was returning Int before. --- src/type.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/type.zig b/src/type.zig index 1f16b9d845..f3ca23014d 100644 --- a/src/type.zig +++ b/src/type.zig @@ -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,