From 818102ca9e5c86a17606c46532ec15954342eefb Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Sun, 1 Jun 2025 13:13:59 -0700 Subject: [PATCH] : Avoid another compiler warning with Defect Report P2280R4 --- stl/inc/vector | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stl/inc/vector b/stl/inc/vector index bf7b9dd80f..efbd9e8d6f 100644 --- a/stl/inc/vector +++ b/stl/inc/vector @@ -3203,7 +3203,7 @@ public: } // max_size bound by underlying storage limits - return _Ints_max * _VBITS; + return static_cast(_Ints_max * _VBITS); } _NODISCARD_EMPTY_MEMBER _CONSTEXPR20 bool empty() const noexcept {