HomePhabricator

test, build: Enable -Werror=sign-compare

Description

test, build: Enable -Werror=sign-compare

Summary:
test: Fix outstanding -Wsign-compare errors
refactor: Rework asmap Interpret to avoid ptrdiff_t

This is a backport of Core PR18216

It also includes a change in asmap.cpp that was missed in D9055 (PR18512)

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D9197

Details

Provenance
Ben Woosley <ben.woosley@gmail.com>Authored on Feb 10 2021, 17:04
PiRKCommitted on Feb 10 2021, 17:04
abc-botPushed on Feb 10 2021, 17:11
Reviewer
Restricted Project
Differential Revision
D9197: test, build: Enable -Werror=sign-compare
Parents
rABC21862c3cda83: p2p: Unify Send and Receive protocol versions
Branches
Unknown
Tags
Unknown