Skip to content

Commit a14f8c5

Browse files
committed
Fix.
1 parent eea6fef commit a14f8c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/fast_float/float_common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ template<typename T>
573573
fastfloat_really_inline FASTFLOAT_CONSTEXPR20
574574
void to_float(bool negative, adjusted_mantissa am, T &value) {
575575
using fastfloat_uint = typename binary_format<T>::equiv_uint;
576-
fastfloat_uint word = (uint)am.mantissa;
576+
fastfloat_uint word = (fastfloat_uint)am.mantissa;
577577
word |= fastfloat_uint(am.power2) << binary_format<T>::mantissa_explicit_bits();
578578
word |= fastfloat_uint(negative) << binary_format<T>::sign_index();
579579
#if FASTFLOAT_HAS_BIT_CAST

0 commit comments

Comments
 (0)