From 457c9fa5c6da973ae4778547af5efc67d1548f61 Mon Sep 17 00:00:00 2001 From: Greg Sanders Date: Wed, 10 Jan 2024 14:54:23 -0500 Subject: [PATCH] avoid implicit cast to uint? --- src/policy/rbf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/policy/rbf.cpp b/src/policy/rbf.cpp index 2a456d361d673f..7f13cb39d45b85 100644 --- a/src/policy/rbf.cpp +++ b/src/policy/rbf.cpp @@ -70,7 +70,7 @@ inline std::pair Add128(const std::pair& a uint64_t low = (low_sum_high << 32) | (low_sum_low & 0xFFFFFFFF); - int64_t high = a.first + b.first + carry; + int64_t high = a.first + b.first + static_cast(carry); return {high, low}; }