From 829ea92127b8fad995bf4c658d8b511fb6048787 Mon Sep 17 00:00:00 2001 From: Jean Dao Date: Fri, 4 Feb 2022 17:06:44 +0100 Subject: [PATCH] C backend: fix zig_bitcast_f64_u64() return type --- src/link/C/zig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/link/C/zig.h b/src/link/C/zig.h index 189069b04ea9..380e4476e9ca 100644 --- a/src/link/C/zig.h +++ b/src/link/C/zig.h @@ -424,7 +424,7 @@ static inline float zig_bitcast_f32_u32(uint32_t arg) { return dest; } -static inline float zig_bitcast_f64_u64(uint64_t arg) { +static inline double zig_bitcast_f64_u64(uint64_t arg) { double dest; memcpy(&dest, &arg, sizeof dest); return dest;