commit | ac4a2cc72c780f8c2cfdad48f901dd6ee75d1b9b | [log] [tgz] |
---|---|---|
author | Drew Fisher <zarvox@google.com> | Mon Oct 26 21:31:18 2020 +0000 |
committer | CQ Bot <commit-bot@chromium.org> | Mon Oct 26 21:31:18 2020 +0000 |
tree | e6f21989d575810520903d1edb4984515e9fa3b6 | |
parent | ea5081a2e27235b51dd8f746ce2876814fde2edc [diff] |
[block-verity] Avoid triggering -Wno-conversion There were a couple places we were relying on implicit conversion from uint64_t to uint32_t. All of them are guaranteed not to overflow uint32_t, so I've updated some of the types and added comments where additional explicit casts were needed explaining why these truncations are safe. Bug: 58162 Change-Id: I0674860dd523068b05d019970b5f3bd282d5c0b2 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/443026 Reviewed-by: Allison Pearce <ampearce@google.com> Testability-Review: Drew Fisher <zarvox@google.com> Commit-Queue: Drew Fisher <zarvox@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.