[gn][minfs] Add static_cast to silence shortening warning

The upcoming gn build is less lenient and says:

../system/ulib/minfs/vnode.cpp:1237:22: warning: implicit conversion loses integer precision: 'unsigned long' to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
    uint32_t n = off / kMinfsBlockSize;
             ~   ~~~~^~~~~~~~~~~~~~~~~

This seems like an intentional shortening to u32, so explicitly cast.

ZX-3415 #comment [gn][minfs] Add static_cast to silence shortening warning

Test: CQ
Change-Id: I3d595e9fd79a09907bc83499c1b4190d10d49476
1 file changed
tree: 28adb977f0805728a4acc1ff4cb11c7942223a42
  1. boards/
  2. build/
  3. buildtools/
  4. bundles/
  5. docs/
  6. garnet/
  7. peridot/
  8. products/
  9. scripts/
  10. sdk/
  11. src/
  12. zircon/
  13. .clang-format
  14. .dir-locals.el
  15. .gitattributes
  16. .gitignore
  17. AUTHORS
  18. CODE_OF_CONDUCT.md
  19. CONTRIBUTING.md
  20. LICENSE
  21. OWNERS
  22. PATENTS
  23. README.md
  24. rustfmt.toml
README.md

Fuchsia

Pink + Purple == Fuchsia (a new operating system)

What is Fuchsia?

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.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See the documentation.