commit | 957fd72b12b3e1a3084c55ab1c8b25de853f9415 | [log] [tgz] |
---|---|---|
author | Scott Graham <scottmg@google.com> | Mon Feb 11 10:28:51 2019 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Mon Feb 11 22:10:09 2019 +0000 |
tree | 186a9e22ca9e0e27f7e8a53f85d55a57c2aa30c1 | |
parent | f4dee2a1e198f3e6477374ff605864dcef29b822 [diff] |
[gn][minfs] Silence size_t->uin32_t in fs-host bcache test The upcoming gn build is less lenient and reports: ../system/utest/fs-host/util.cpp:73:62: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32] if (minfs::Bcache::Create(&block_cache, std::move(disk), size) < 0) { ~~~~~ ^~~~ minfs appears to only expect/care about uint32_t, so silence the warning with a static_cast. ZX-3415 #comment [gn][minfs] Silence size_t->uin32_t in fs-host bcache test Test: CQ Change-Id: Icfb6a2f9c6f142910e7058244b69a7a37d9f5761
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.
See Getting Started.
See the documentation.