summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic
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/dev/ic
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/dev/ic')
-rw-r--r--sys/dev/ic/i82586.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/i82586.h b/sys/dev/ic/i82586.h
index dd8f9cb..c1504fe 100644
--- a/sys/dev/ic/i82586.h
+++ b/sys/dev/ic/i82586.h
@@ -31,7 +31,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: i82586.h,v 1.5 1997/02/22 09:38:02 peter Exp $
+ * $Id: i82586.h,v 1.6 1998/04/15 17:45:58 bde Exp $
*/
/*
@@ -311,7 +311,7 @@ ie_setup_config(volatile struct ie_config_cmd *cmd,
static __inline caddr_t
Align(caddr_t ptr) {
- unsigned long l = (unsigned long)ptr;
+ uintptr_t l = (uintptr_t)ptr;
l = (l + 3) & ~3L;
return (caddr_t)l;
}
OpenPOWER on IntegriCloud