Skip to content

Commit 9b9faba

Browse files
committed
put a necessary static_cast back
1 parent 43c6623 commit 9b9faba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/math/generic/hypotf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ LLVM_LIBC_FUNCTION(float, hypotf, (float x, float y)) {
6767
}
6868
}
6969

70-
return result.get_val();
70+
return static_cast<float>(result.get_val());
7171
}
7272

7373
} // namespace LIBC_NAMESPACE

0 commit comments

Comments
 (0)