Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Use (int)&(int) in boolean context to avoid compiler warning
This fixes a compiler warning: ./src/ecdsa_impl.h:312:12: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical] return !secp256k1_scalar_is_zero(sigr) & !secp256k1_scalar_is_zero(sigs); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Loading branch information