summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-05-28 15:16:44 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-05-28 15:16:44 +0000
commite4c383111810f4e543b8bc537e8c43db38f9f5da (patch)
tree56519bdb190cedf8ab84fcea6715ecb2a41c5728 /distrib
parent5886ad9cda43433a1d06c7c8d153ad491c669411 (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