-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Avoids a potentially shortening size_t to int cast in strauss_wnaf_ #841
Avoids a potentially shortening size_t to int cast in strauss_wnaf_ #841
Conversation
I confirm this fixes the
warning. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested f1c9131 on Linux Mint 20 (x86_64):
$ gcc --version
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ make > /dev/null
# no warnings :)
This looks reasonable to me. |
f1c9131
to
8893f42
Compare
Ok, I didn't expect that this will also fix the warning! Updated the commit message accordingly. |
Bogus compiler warning acts bogusly. |
ACK 8893f42. |
ACK 8893f42 Also kicked travis since it hadn't started the job. |
ACK 8893f42 |
Is it planned to pull this change into the Bitcoin Core repo before 0.21.0 branching off? |
@hebasto You're asking in the wrong place, other than sipa no one else here regularly contributes to bitcoin-core. :) |
Summary: Backport of secp256k1 [[bitcoin-core/secp256k1#841 | PR841]]. Test Plan: ninja check-secp256k1 Reviewers: #bitcoin_abc, PiRK Reviewed By: PiRK Differential Revision: https://reviews.bitcoinabc.org/D8143
Summary: Backport of secp256k1 [[bitcoin-core/secp256k1#841 | PR841]]. Test Plan: ninja check-secp256k1 Reviewers: #bitcoin_abc, PiRK Reviewed By: PiRK Differential Revision: https://reviews.bitcoinabc.org/D8143
Fixes #834.