From 72d3f6c1decd3a5ed6ef22be497fab790301b982 Mon Sep 17 00:00:00 2001 From: IRainman Date: Sun, 5 Jul 2026 22:00:35 +0300 Subject: [PATCH] * type usage fix in merged code --- include/fast_float/ascii_number.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fast_float/ascii_number.h b/include/fast_float/ascii_number.h index 9d14407..65f26eb 100644 --- a/include/fast_float/ascii_number.h +++ b/include/fast_float/ascii_number.h @@ -403,9 +403,9 @@ parse_number_string(UC const *p, UC const *pend, } } UC const *const end_of_integer_part = p; - int64_t digit_count = int64_t(end_of_integer_part - start_digits); + auto digit_count = static_cast(end_of_integer_part - start_digits); if (store_spans) { - answer.integer = span(start_digits, size_t(digit_count)); + answer.integer = span(start_digits, digit_count); } #ifndef FASTFLOAT_ONLY_POSITIVE_C_NUMBER_WO_INF_NAN FASTFLOAT_IF_CONSTEXPR17(basic_json_fmt) {