commit | ffd67a3168b5332e38da41187455e691a0a79a75 | [log] [tgz] |
---|---|---|
author | Joel Fernandes <joelaf@google.com> | Thu Jan 16 10:46:41 2020 -0500 |
committer | Joel Fernandes <joelaf@google.com> | Thu Jan 16 16:16:46 2020 +0000 |
tree | f5899c07ce724d3edb9b089e74aa31054a6b8e19 | |
parent | e0d2ce09475e3ae07e2740cbf0e342f68c1564a8 [diff] |
Fix precision errors by explicit casting In CrOS builds, the warning flags break the build when they detect implicit conversion to double. Fix these by making explicit conversions as needed. Errors are such as: error: implicit conversion from 'unsigned long' to 'double' may lose precision Bug: 147789115 Signed-off-by: Joel Fernandes <joelaf@google.com> Change-Id: I85742db4d26dc9c50b35b38e10a5b7c7d0f02dbc
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.
See /docs/contributing.md for instructions.
The source-of-truth repo is Android's Gerrit. The GitHub repo is a read-only mirror.
You can reach us on our Discord channel. If you prefer using IRC we have an experimental Discord <> IRC bridge synced with #perfetto-dev
on Freenode.