Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/1119/36

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


64-bit fixes.
 [jmk] --rw-rw-r-- M 107020 glenda sys 1160 Nov 19 21:15 sys/src/libip/ptclbsum.c
	/n/sourcesdump/2005/1119/plan9/sys/src/libip/ptclbsum.c:17,23 - 
	/n/sourcesdump/2005/1120/plan9/sys/src/libip/ptclbsum.c:17,23
	  	mdsum = 0;
	  
	  	x = 0;
	- 	if((ulong)addr & 1) {
	+ 	if((uintptr)addr & 1) {
	  		if(len) {
	  			hisum += addr[0];
	  			len--;


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.