mirror of https://github.com/bitcoin/bitcoin
Merge bitcoin/bitcoin#26252: refactor: Make 64-bit shift explicit
pull/26263/head5c5b85d0e7
refactor: Make 64-bit shift explicit (Hennadii Stepanov) Pull request description: [`std::array::at()`](https://en.cppreference.com/w/cpp/container/array/at) expects an argument of the `size_t` type. This PR avoids implicit type conversion (for both 64-bit and 32-bit systems). Also it enables MSVC warning [C4334](https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-3-c4334) for all codebase. ACKs for top commit: MarcoFalke: ACK5c5b85d0e7
🚎 jonatack: Code review ACK5c5b85d0e7
Tree-SHA512: fda850a42068f2ada9f877fac9ff8af1e22b5dcb3e708f5b95c316e77c52c72d33cd9ec6507a7f5d1731d1afdf5af6dc65025d388cc480f82c46f4d88ef2d306
commit
5e82b9ba96
Loading…
Reference in new issue