Skip to content

Commit

Permalink
more sanitizer pleasing
Browse files Browse the repository at this point in the history
  • Loading branch information
instagibbs committed Jan 10, 2024
1 parent 457c9fa commit 185478d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/policy/rbf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ inline std::pair<int64_t, uint64_t> Add128(const std::pair<int64_t, uint64_t>& a
uint64_t low_sum_high = static_cast<uint64_t>(low_a_high) + low_b_high + carry;
carry = low_sum_high >> 32; // carry for the high part

uint64_t low = (low_sum_high << 32) | (low_sum_low & 0xFFFFFFFF);
uint64_t low = ((low_sum_high & 0xFFFFFFFF) << 32) | (low_sum_low & 0xFFFFFFFF);

int64_t high = a.first + b.first + static_cast<int64_t>(carry);

Expand Down

0 comments on commit 185478d

Please sign in to comment.