]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r353329:
authorBrooks Davis <brooks@FreeBSD.org>
Tue, 15 Oct 2019 20:08:19 +0000 (20:08 +0000)
committerBrooks Davis <brooks@FreeBSD.org>
Tue, 15 Oct 2019 20:08:19 +0000 (20:08 +0000)
commit7281bbe952e2332a250bf088a1a439417baf9c6d
treef584633445be6deceb1417832ee0257441fa84d3
parentaa74485d0ec199018530a39f94d255753e57aca0
MFC r353329:

msun: Silence new harmless -Wimplicit-int-float-conversion warnings

Clang from trunk recently added a warning for when implicit int-to-float
conversions cause a loss of precision. The code in question is designed
to be able to handle that, so add explicit casts to silence this.

Submitted by: James Clarke <jrtc27@jrtc27.com>
Reviewed by: dim
Obtained from: CheriBSD
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D21913
lib/msun/src/s_lround.c