diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2021-05-28 15:16:44 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2021-05-28 15:16:44 +0000 |
commit | e4c383111810f4e543b8bc537e8c43db38f9f5da (patch) | |
tree | 56519bdb190cedf8ab84fcea6715ecb2a41c5728 /distrib | |
parent | 5886ad9cda43433a1d06c7c8d153ad491c669411 (diff) |
Silence a clang warning on loss of precision
When converting a long or long long to a double, there may be loss
of precision and clang >= 10 warns about this unless there is a cast.
Add casts to silence this warning - the code is designed to handle
precisely this loss of precision, so this is harmless.
From CheriBSD via FreeBSD
ok millert
Diffstat (limited to 'distrib')
0 files changed, 0 insertions, 0 deletions