From 27f02654fe930717b34df71720ac83c0c35b3a10 Mon Sep 17 00:00:00 2001 From: IRainman Date: Tue, 8 Apr 2025 04:06:30 +0300 Subject: [PATCH] style cleanup. --- 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 cc4bd2a..016aec1 100644 --- a/include/fast_float/ascii_number.h +++ b/include/fast_float/ascii_number.h @@ -367,7 +367,7 @@ parse_number_string(UC const *p, UC const *pend, i = i * 10 + digit; // in rare cases, this will overflow, but that's ok ++p; } - exponent = static_cast(before - p); + exponent = int16_t(before - p); answer.fraction = span(before, size_t(p - before)); digit_count -= exponent; }