From a8c5bd9a3885f26b4b713453c1020c49e379989e Mon Sep 17 00:00:00 2001 From: IRainman Date: Mon, 5 May 2025 20:24:16 +0300 Subject: [PATCH] warning fix. --- include/fast_float/bigint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fast_float/bigint.h b/include/fast_float/bigint.h index f37e2a9..cb41d91 100644 --- a/include/fast_float/bigint.h +++ b/include/fast_float/bigint.h @@ -298,7 +298,7 @@ FASTFLOAT_CONSTEXPR20 bool large_add_from(stackvec &x, limb_span y, limb_t start) noexcept { // the effective x buffer is from `xstart..x.len()`, so exit early // if we can't get that current range. - if (x.len() < start || y.len() > x.len() - start) { + if (x.len() < start || y.len() > limb_t(x.len() - start)) { FASTFLOAT_TRY(x.try_resize(limb_t(y.len() + start), 0)); }