refactor: Treat ArgsManager::Flags as uint32_t explicitly #21082

pull MarcoFalke wants to merge 1 commits into bitcoin:master from MarcoFalke:2102-unsigned changing 1 files +1 −1
  1. MarcoFalke commented at 6:39 PM on February 4, 2021: member

    The underlying type might be implementation defined, which is probably why the sanitizer kills the fuzz tests.

    Fix that by pinning the underlying type.

    This refactor does not change behaviour and only affects the sanitizer in tests.

  2. refactor: Treat ArgsManager::Flags as uint32_t explicitly faf3b4b533
  3. MarcoFalke added the label Refactoring on Feb 4, 2021
  4. MarcoFalke commented at 6:40 PM on February 4, 2021: member
  5. practicalswift commented at 8:35 AM on February 5, 2021: contributor

    cr ACK faf3b4b53359850e0c47e67ead1c2b6dccc55531

    More generally I think we should increase our use of the fixed-width integer types. Explicit is better than implicit. Gotcha-free is better than maybe-gotcha.

  6. MarcoFalke merged this on Feb 5, 2021
  7. MarcoFalke closed this on Feb 5, 2021

  8. MarcoFalke deleted the branch on Feb 5, 2021
  9. sidhujag referenced this in commit a620ac2a4b on Feb 5, 2021
  10. PastaPastaPasta referenced this in commit 1c696ec744 on Jul 17, 2022
  11. DrahtBot locked this on Aug 16, 2022

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 06:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me