PERFORCE change 100760 for review

Wojciech A. Koszek wkoszek at FreeBSD.org
Thu Jul 6 15:44:32 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=100760

Change 100760 by wkoszek at 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


More information about the p4-projects mailing list