[roll] Roll fuchsia [blobfs] Fix casting.

Enables the warning about implicit casting and fixes the affected code.

Converts most numeric casts to safemath::checked_cast. Test and metric
code is unchanged.

The blobfs host code in particular is confused about whether inodes and
block indices are 32 or 64 bits. This isn't fixed in this patch but I
tried to fix a couple of places.

Original-Bug: 89819
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/616881
Original-Revision: d3e1460b89318ec2495cf516f6f1150982302f4c
GitOrigin-RevId: 31a81d66c10a8b151dea71792cac395450fcd574
Change-Id: I6efe22805edba7a5d3cd21bd270ca793424107c7
1 file changed
tree: b3fd5374cad0502bcc7382b4812cd2e028ded5f5
  1. infra/
  2. third_party/
  3. cts
  4. firmware
  5. flower
  6. jiri.lock
  7. minimal
  8. prebuilts
  9. README.md
  10. stem
  11. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.