Utils and libraries: fix warning -Wsign-compare in ConsumeDecimalNumber #11525

pull pierreN wants to merge 1 commits into bitcoin:master from pierreN:fix_sign_compare_lvldb_logging changing 1 files +1 −1
  1. pierreN commented at 9:48 AM on October 19, 2017: contributor

    Warning produced by g++ 7.2.0

    This commit fixes the warning by using a uint8_t instead of int for a positive number <10.

  2. g++ 7.2.0 produces warning -Wsign-compare in ConsumeDecimalNumber; this commit fixes the warning 7af6077fbc
  3. fanquake commented at 9:51 AM on October 19, 2017: member

    Please submit this change to our upstream leveldb repo https://github.com/bitcoin-core/leveldb.

  4. fanquake closed this on Oct 19, 2017

  5. fanquake added the label Upstream on Oct 19, 2017
  6. pierreN commented at 10:30 AM on October 19, 2017: contributor

    Ok thanks!

  7. DrahtBot locked this on Sep 8, 2021
Contributors
Labels

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 00:15 UTC

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