summaryrefslogtreecommitdiffstats
path: root/sys/pci/scsiiom.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-10 17:21:49 +0000
committerbde <bde@FreeBSD.org>1998-08-10 17:21:49 +0000
commitd09c7eccb228027516b5db0d20d6eb3a3d6a5263 (patch)
treebbff64fe46338c0c5ffd53ec805c064c23dfd9b9 /sys/pci/scsiiom.c
parentfd093a92abf593af9ca5e35b48ea1e8ec4468072 (diff)
downloadFreeBSD-src-d09c7eccb228027516b5db0d20d6eb3a3d6a5263.zip
FreeBSD-src-d09c7eccb228027516b5db0d20d6eb3a3d6a5263.tar.gz
Use [u]intptr_t instead of [unsigned] long to convert and/or represent
pointers. This finishes fixing conversions between pointers and integers of possibly different sizes in GENERIC.
Diffstat (limited to 'sys/pci/scsiiom.c')
-rw-r--r--sys/pci/scsiiom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/scsiiom.c b/sys/pci/scsiiom.c
index f178660b..4a7731a 100644
--- a/sys/pci/scsiiom.c
+++ b/sys/pci/scsiiom.c
@@ -1269,7 +1269,7 @@ NO_DEV:
{
pACB->DeviceCnt++;
pPrevDCB = pDCB;
- pACB->pDCB_free = (PDCB) ((ULONG) (pACB->pDCB_free) + sizeof( DC390_DCB ));
+ pACB->pDCB_free = (PDCB) ((uintptr_t) (pACB->pDCB_free) + sizeof( DC390_DCB ));
pDCB->DevType = bval1;
if(bval1 == SCSI_DASD || bval1 == SCSI_OPTICAL)
{
OpenPOWER on IntegriCloud