Author: davidch Date: Tue Sep 13 15:49:28 2011 New Revision: 225532 URL: http://svn.freebsd.org/changeset/base/225532
Log: - Fix compiler warning in ADD_64() macro. Approved by: re Obtained from: dimi...@andic.com MFC after: One week Modified: head/sys/dev/bxe/if_bxe.c Modified: head/sys/dev/bxe/if_bxe.c ============================================================================== --- head/sys/dev/bxe/if_bxe.c Tue Sep 13 14:07:05 2011 (r225531) +++ head/sys/dev/bxe/if_bxe.c Tue Sep 13 15:49:28 2011 (r225532) @@ -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 */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"