1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-30 12:04:07 +00:00

- Fix compiler warning in ADD_64() macro.

Approved by:	re
Obtained from:	dimitry@andic.com
MFC after:	One week
This commit is contained in:
David Christensen 2011-09-13 15:49:28 +00:00
parent c3e00850b4
commit 61b6cf3661
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=225532

View File

@ -7188,7 +7188,7 @@ bxe_attn_int(struct bxe_softc* sc)
/* sum[hi:lo] += add[hi:lo] */ /* sum[hi:lo] += add[hi:lo] */
#define ADD_64(s_hi, a_hi, s_lo, a_lo) do { \ #define ADD_64(s_hi, a_hi, s_lo, a_lo) do { \
s_lo += a_lo; \ s_lo += a_lo; \
s_hi += a_hi + (s_lo < a_lo) ? 1 : 0; \ s_hi += a_hi + ((s_lo < a_lo) ? 1 : 0); \
} while (0) } while (0)
/* Subtraction = minuend -= subtrahend */ /* Subtraction = minuend -= subtrahend */