summaryrefslogtreecommitdiffstats
path: root/sys/dev/hea/eni_init.c
diff options
context:
space:
mode:
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