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;