From owner-cvs-all Tue Jul 14 23:52:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA02228 for cvs-all-outgoing; Tue, 14 Jul 1998 23:52:03 -0700 (PDT) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA02221; Tue, 14 Jul 1998 23:52:01 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id XAA25028; Tue, 14 Jul 1998 23:51:17 -0700 (PDT) Date: Tue, 14 Jul 1998 23:51:17 -0700 (PDT) Message-Id: <199807150651.XAA25028@freefall.freebsd.org> To: Subject: cvs commit: src/sys/kern vfs_aio.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message