Page MenuHomePhabricator

Fix implicit-integer-sign-change in bloom
ClosedPublic

Authored by PiRK on Dec 8 2022, 12:35.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC6b26906907bf: Fix implicit-integer-sign-change in bloom
Summary

This is a backport of core#24219
Depends on D12818

Test Plan

With UBSAN
ninja && ninja check check-functional

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Dec 8 2022, 12:35
Fabien requested changes to this revision.Dec 8 2022, 14:52
Fabien added a subscriber: Fabien.
Fabien added inline comments.
src/bloom.cpp
282 ↗(On Diff #37123)

You missed that one

This revision now requires changes to proceed.Dec 8 2022, 14:52

add the U to the correct line (the bitwise OR cannot make a positive number negative))

This revision is now accepted and ready to land.Dec 8 2022, 16:01