[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:04:24 UTC 2016


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

Don Lewis <truckman at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |truckman at FreeBSD.org

--- Comment #1 from Don Lewis <truckman at FreeBSD.org> ---
It is probably safer to cast each of the arguments to the subtraction to int so
that the subtraction produces a signed result rather than casting the result of
the subtraction.  The latter should work in this case, but might not if the
cast is to a wider type.

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


More information about the freebsd-gnome mailing list