]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix lots of places that assume sizeof(int) == sizeof(void *). Most of
authorjhb <jhb@FreeBSD.org>
Thu, 7 Nov 2002 21:13:15 +0000 (21:13 +0000)
committerjhb <jhb@FreeBSD.org>
Thu, 7 Nov 2002 21:13:15 +0000 (21:13 +0000)
commitb79b5c3b5583e03230f8db18d972673b2f4a7bd6
treea4913cc041c80bb9a4a20b1b4b83ba2dba328614
parent987979669bd3606bc546f273aedb0755128ab842
Fix lots of places that assume sizeof(int) == sizeof(void *).  Most of
these were cosmetic.  However, at least two of these changes fix bugs
where a (fake) pointer to a RX descriptor was added to the physical
memory start address with the cast in the wrong place resulting in
rxdesc[pmem_start] instead of (uintptr_t)rxdesc + pmem_start.
sys/dev/sr/if_sr.c