commit | 9869535583211c16e91c6be51771173c142d9ef0 | [log] [tgz] |
---|---|---|
author | Scott Graham <scottmg@google.com> | Wed Feb 13 15:14:02 2019 -0800 |
committer | CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org> | Sat Feb 16 00:26:18 2019 +0000 |
tree | 79c2e78a22cbdca73d7f9e33111d1291396869ec | |
parent | 24e97288e264e28d7e4e8435129d7c8c6e20f4fd [diff] |
[gn][fvm-host] Fix some warnings in container/fvm.cpp [4389->5477/9923 ~58] CXX host-x64-linux-clang/obj/system/ulib/fvm-host/container/libfvm-host.fvm.cpp.o ../system/ulib/fvm-host/container/fvm.cpp:249:15: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare] if (r != slice_size_) { ~ ^ ~~~~~~~~~~~ ../system/ulib/fvm-host/container/fvm.cpp:260:15: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare] if (r != slice_size_) { ~ ^ ~~~~~~~~~~~ ../system/ulib/fvm-host/container/fvm.cpp:398:52: warning: implicit conversion loses integer precision: 'unsigned long' to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32] uint32_t vslice = vslice_info.vslice_start / format->BlocksPerSlice(); ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../system/ulib/fvm-host/container/fvm.cpp:540:11: warning: comparison of integers of different signs: 'ssize_t' (aka 'long') and 'size_t' (aka 'unsigned long') [-Wsign-compare] if (r != block_size) { ~ ^ ~~~~~~~~~~ 4 warnings generated. ZX-3415 #comment [gn][fvm-host] Fix some warnings in container/fvm.cpp Test: CQ Change-Id: Ia43d3a8bd3ccc2158b07e9f64146d9699bcba280
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.