From 22605807b8a31bb890967c7c3309a04843050bbe Mon Sep 17 00:00:00 2001 From: IRainman Date: Sat, 27 Dec 2025 13:01:56 +0300 Subject: [PATCH] fix compilation error in uint8_t parsing. --- include/fast_float/ascii_number.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fast_float/ascii_number.h b/include/fast_float/ascii_number.h index 01ad6ac..d05b51b 100644 --- a/include/fast_float/ascii_number.h +++ b/include/fast_float/ascii_number.h @@ -604,7 +604,7 @@ parse_int_string(UC const *p, UC const *pend, T &value, const auto tz = static_cast(countr_zero_32(magic)); // 7, 15, 23, 31, or 32 uint32_t nd = (tz == 32) ? 4 : (tz >> 3); - nd = std::min(nd, len); + nd = std::min(static_cast(nd), len); if (nd == 0) { if (has_leading_zeros) { value = 0;