Skip to content

Commit

Permalink
avoid implicit cast to uint?
Browse files Browse the repository at this point in the history
  • Loading branch information
instagibbs committed Jan 10, 2024
1 parent 100b0fb commit 457c9fa
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 @@ -70,7 +70,7 @@ inline std::pair<int64_t, uint64_t> Add128(const std::pair<int64_t, uint64_t>& 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<int64_t>(carry);

return {high, low};
}
Expand Down

0 comments on commit 457c9fa

Please sign in to comment.