scripted-diff: replace non-standard fixed width integer types (`u_int`... -> `uint`...) #25115

pull theStack wants to merge 1 commits into bitcoin:master from theStack:202205-refactor-replace_non_std_fixed_width_integer_types changing 3 files +7 −7
  1. theStack commented at 1:58 PM on May 12, 2022: member

    Fixed width integer types prefixed with u_int are not part of C++ (see https://en.cppreference.com/w/cpp/types/integer), so it's better to avoid and replace them with their standard-conforming counterparts. (For those interested in history, according to one theory those u_int... types have been introduced by BSD: https://stackoverflow.com/a/5163960, http://lists.freedesktop.org/archives/release-wranglers/2004-August/000923.html).

  2. scripted-diff: replace non-standard fixed width integer types (`u_int`...` -> `uint`...)
    -BEGIN VERIFY SCRIPT-
    sed -i 's/u_int/uint/g' $(git grep -l u_int)
    -END VERIFY SCRIPT-
    672d49c863
  3. laanwj commented at 2:22 PM on May 12, 2022: member

    I'd never even heard of these!

    Code review ACK 672d49c863fd6b0f096f166aeb3504f51dfa7d19

  4. laanwj added the label Refactoring on May 12, 2022
  5. fanquake approved
  6. fanquake commented at 8:07 PM on May 12, 2022: member

    ACK 672d49c863fd6b0f096f166aeb3504f51dfa7d19

  7. fanquake merged this on May 12, 2022
  8. fanquake closed this on May 12, 2022

  9. theStack deleted the branch on May 12, 2022
  10. jonatack commented at 8:30 PM on May 12, 2022: member

    Post-merge review ACK.

  11. sidhujag referenced this in commit 468cdc24a9 on May 13, 2022
  12. Fabcien referenced this in commit 4b5fdf3dc6 on Mar 6, 2023
  13. DrahtBot locked this on May 12, 2023

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-14 21:13 UTC

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