[Bug 209077] net/opal: Fix build with libc++ 3.8.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 6 15:29:45 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209077

--- Comment #2 from Dimitry Andric <dim at 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 more
churn, for very little gain.

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


More information about the freebsd-gnome mailing list