From d009ccfaf572fa12401b7a0b3951195c00ec4557 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Tue, 24 Aug 1999 00:56:50 +0000 Subject: Cast pointers to uintptr_t instead of casting them to u_long, and/or vice versa. Cosmetic. --- sys/dev/isp/isp_pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/isp') diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index e32a1cb6a9ff2..8fd49bbfd562a 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -1,4 +1,4 @@ -/* $Id: isp_pci.c,v 1.29 1999/08/16 01:52:21 gibbs Exp $ */ +/* $Id: isp_pci.c,v 1.30 1999/08/16 19:52:29 mjacob Exp $ */ /* * PCI specific probe and attach routines for Qlogic ISP SCSI adapters. * FreeBSD Version. @@ -576,7 +576,7 @@ isp_pci_attach(pcici_t cfid, int unit) /* * poor man's attempt at pseudo randomness. */ - long i = (long) isp; + long i = (intptr_t) isp; i >>= 5; i &= 0x7; -- cgit v1.3