Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jun 2016 15:29:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 209077] net/opal: Fix build with libc++ 3.8.0
Message-ID:  <bug-209077-6497-K0SPoRQZqp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209077-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209077-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209077

--- Comment #2 from Dimitry Andric <dim@FreeBSD.org> ---
It doesn't matter too much either way, since all the arguments and the end
result (distance) are unsigned.  There will always be some cases where that
distance is calculated incorrectly, if regular int in combination with abs()
are used.

The 'more correct' fix would be to define a separate function to calculate =
the
distance between two unsigned values, and use that instead.  But that is mo=
re
churn, for very little gain.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209077-6497-K0SPoRQZqp>