Page MenuHomePhabricator

[SECP256K1] Add parens around ROUND_TO_ALIGN's parameter.

Authored by Fabien on Thu, Apr 8, 13:38.


This makes the macro robust against a hypothetical ROUND_TO_ALIGN(foo ?
sizeA : size B) invocation.

Backport of secp256k1#880

Test Plan
ninja check-secp256k1

Diff Detail

rABC Bitcoin ABC
Lint Not Applicable
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.Thu, Apr 8, 13:38
deadalnix requested changes to this revision.Thu, Apr 8, 13:47
deadalnix added a subscriber: deadalnix.

The PR in the description is not correct

This revision now requires changes to proceed.Thu, Apr 8, 13:47
Fabien requested review of this revision.Thu, Apr 8, 13:51
Fabien edited the summary of this revision. (Show Details)

Updated backport link with correct repo

This revision is now accepted and ready to land.Thu, Apr 8, 13:59