summaryrefslogtreecommitdiffstats
path: root/sys/dev/hea/eni_init.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-11-06 22:58:55 +0000
committerjhb <jhb@FreeBSD.org>2002-11-06 22:58:55 +0000
commit22de9969b03a4095e7f4ced476b44cbf8940c804 (patch)
treeb9c644fe435844323fa950fc91719ced8e19e05e /sys/dev/hea/eni_init.c
parent74e3cefa12c6299ea428f8aee0e5d4d2b3cdbe05 (diff)
downloadFreeBSD-src-22de9969b03a4095e7f4ced476b44cbf8940c804.zip
FreeBSD-src-22de9969b03a4095e7f4ced476b44cbf8940c804.tar.gz
Adjust some casts to quiet warnings.
Reviewed by: mdodd
Diffstat (limited to 'sys/dev/hea/eni_init.c')
-rw-r--r--sys/dev/hea/eni_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hea/eni_init.c b/sys/dev/hea/eni_init.c
index 386e11d..e4c671e 100644
--- a/sys/dev/hea/eni_init.c
+++ b/sys/dev/hea/eni_init.c
@@ -94,7 +94,7 @@ eni_init ( eup )
for ( order = -1; words; order++ )
words >>= 1;
eup->eu_midway[MIDWAY_TXPLACE] =
- (order << TXSIZE_SHIFT) | ((int)eup->eu_txbuf >> ENI_LOC_PREDIV);
+ (order << TXSIZE_SHIFT) | ((intptr_t)eup->eu_txbuf >> ENI_LOC_PREDIV);
eup->eu_txpos = eup->eu_midway[MIDWAY_DESCR] & 0x7FFF;
/*
* Set first word of unack'ed data to start
OpenPOWER on IntegriCloud