Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 1998 04:34:25 -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/scsi sd.c
Message-ID:  <199807141134.EAA16593@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807141134.EAA16593>