Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jun 2016 15:48:49 +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-9wJG2NMrHI@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 #4 from Don Lewis <truckman@FreeBSD.org> ---
It would matter if you were casting to long to avoid overflow issues
  (long)(u1 - u2) !=3D (long)u1 - (long)u2
if sizeof(long) > sizeof(int)

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

--=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-9wJG2NMrHI>