Date: Thu, 6 Jul 2006 15:44:31 GMT From: "Wojciech A. Koszek" <wkoszek@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 100760 for review Message-ID: <200607061544.k66FiV5S094536@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100760 Change 100760 by wkoszek@wkoszek_laptop on 2006/07/06 15:44:12 Make netinet/ more happy due to additional parentheses around + and - when mixed with bitwise shifts. Affected files ... .. //depot/projects/mips2/src/sys/mips/include/in_cksum.h#2 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/include/in_cksum.h#2 (text+ko) ==== @@ -56,7 +56,7 @@ { int __tmpsum; __tmpsum = (int)ntohs(ip->ip_sum) + 256; - ip->ip_sum = htons(__tmpsum + (__tmpsum >> 16)); + ip->ip_sum = htons((__tmpsum + (__tmpsum >> 16))); } #else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607061544.k66FiV5S094536>