[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:48:49 UTC 2016


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

--- Comment #4 from Don Lewis <truckman at FreeBSD.org> ---
It would matter if you were casting to long to avoid overflow issues
  (long)(u1 - u2) != (long)u1 - (long)u2
if sizeof(long) > sizeof(int)

Your code in #3 is the best way, though.

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


More information about the freebsd-gnome mailing list