Date: Sun, 7 Sep 2003 06:03:13 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/linux linux_misc.c Message-ID: <200309071303.h87D3Da1049229@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2003/09/07 06:03:13 PDT FreeBSD src repository Modified files: sys/compat/linux linux_misc.c Log: Restored a non-egregious cast so that this file compiles on i386's with 64-bit longs again. This was fixed in rev.1.42 but the fix rotted non-fatally in rev.1.105 and fatally in rev.1.137. Many more non-egregrious casts are strictly required for conversions from semi-opaque types to pointers, but we avoid most of them by using types that are almost certain to be compatible with uintptr_t for representing pointers (e.g., vm_offset_t). Here we don't really want the u_longs, but we have them because a.out.h and its support code doesn't use typedefs (it uses unsigned in V7 and unsigned long in FreeBSD) and is too obsolete to fix now. Revision Changes Path 1.148 +1 -1 src/sys/compat/linux/linux_misc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309071303.h87D3Da1049229>