mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +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:
parent
c3e00850b4
commit
61b6cf3661
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=225532
@ -7188,7 +7188,7 @@ bxe_attn_int(struct bxe_softc* sc)
|
||||
/* sum[hi:lo] += add[hi:lo] */
|
||||
#define ADD_64(s_hi, a_hi, s_lo, a_lo) do { \
|
||||
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)
|
||||
|
||||
/* Subtraction = minuend -= subtrahend */
|
||||
|
Loading…
Reference in New Issue
Block a user