summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1995-04-13 04:16:16 +0000
committercgd <cgd@NetBSD.org>1995-04-13 04:16:16 +0000
commitd8b4389dc31096547285066937e111cdcd5184fb (patch)
treef4c42de3042213c6c1f965de66995026b48fa50c /sys/dev
parentf93fa3c44052b23555b1dda33d48318d6de82f5e (diff)
cast pointer to long when converting to integer type
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/eisa/aha1742.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/eisa/aha1742.c b/sys/dev/eisa/aha1742.c
index 80bab40f2ec..02fbf79afe6 100644
--- a/sys/dev/eisa/aha1742.c
+++ b/sys/dev/eisa/aha1742.c
@@ -1,4 +1,4 @@
-/* $NetBSD: aha1742.c,v 1.44 1995/01/18 04:20:16 mycroft Exp $ */
+/* $NetBSD: aha1742.c,v 1.45 1995/04/13 04:16:16 cgd Exp $ */
/*
* Copyright (c) 1994 Charles Hannum. All rights reserved.
@@ -1017,7 +1017,7 @@ ahb_scsi_cmd(xs)
SC_DEBUG(sc_link, SDEV_DB4,
("%d @0x%x:- ", xs->datalen, xs->data));
datalen = xs->datalen;
- thiskv = (int) xs->data;
+ thiskv = (long) xs->data;
thisphys = KVTOPHYS(thiskv);
while (datalen && seg < AHB_NSEG) {