Date: Tue, 14 Jul 1998 23:51:17 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/kern vfs_aio.c Message-ID: <199807150651.XAA25028@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1998/07/14 23:51:17 PDT Modified files: sys/kern vfs_aio.c Log: Cast between longs and pointers via intptr_t. There shouldn't be nearly so many casts here. Casting an pointer that was an integer back to an integer just to compare it with -1 is bad, and casting it back just to compare it with NULL is just wrong. Revision Changes Path 1.32 +17 -17 src/sys/kern/vfs_aio.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807150651.XAA25028>