From a32446d384113e07cc2726e54008880ec4ee6ffd 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 83ba40d8c7f8..95c834f60248 100644 --- a/src/link/C/zig.h +++ b/src/link/C/zig.h @@ -432,7 +432,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;