Skip to content

Commit

Permalink
C backend: fix zig_bitcast_f64_u64() return type
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-dao committed Mar 16, 2022
1 parent 8baf976 commit a32446d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/link/C/zig.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a32446d

Please sign in to comment.