From owner-cvs-all Tue Jul 14 04:35:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA24413 for cvs-all-outgoing; Tue, 14 Jul 1998 04:35: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 EAA24408; Tue, 14 Jul 1998 04:35: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 EAA16593; Tue, 14 Jul 1998 04:34:25 -0700 (PDT) Date: Tue, 14 Jul 1998 04:34:25 -0700 (PDT) Message-Id: <199807141134.EAA16593@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/scsi sd.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk bde 1998/07/14 04:34:24 PDT Modified files: sys/scsi sd.c Log: If object pointers need to be cast to [unsigned] integers, then cast to [u]intptr_t instead of to [u_]long. Don't cast pointers to integers just to do ordinary pointer arithmetic on them, especially when the casts use gcc's feature of casting lvalues. Revision Changes Path 1.135 +3 -3 src/sys/scsi/sd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message