From cfa95d64fc475c02df6779bd3aa547912b8d4ef7 Mon Sep 17 00:00:00 2001 From: myrrc Date: Tue, 10 Nov 2020 21:21:50 +0300 Subject: [PATCH] fixing the debug build assert --- base/common/wide_integer_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/common/wide_integer_impl.h b/base/common/wide_integer_impl.h index f6915b64cf7..5b13c56e2f7 100644 --- a/base/common/wide_integer_impl.h +++ b/base/common/wide_integer_impl.h @@ -277,7 +277,7 @@ struct integer::_impl const long double rhs_mod_max_int = rhs_long_double - rhs_div_max_int; assert(rhs_mod_max_int < max_int_long_double); - assert(rhs_mod_max_int > min_int_long_double); + assert(rhs_mod_max_int > static_cast(min_int)); self += static_cast(rhs_mod_max_int);