summaryrefslogtreecommitdiffstats
path: root/sys/dev/asr/asr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/asr/asr.c')
-rw-r--r--sys/dev/asr/asr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/asr/asr.c b/sys/dev/asr/asr.c
index 4661af7..1fe9195 100644
--- a/sys/dev/asr/asr.c
+++ b/sys/dev/asr/asr.c
@@ -538,7 +538,7 @@ ASR_getMessage(Asr_softc_t *sc)
static U32
ASR_initiateCp(Asr_softc_t *sc, PI2O_MESSAGE_FRAME Message)
{
- U32 Mask = -1L;
+ U32 Mask = 0xffffffff;
U32 MessageOffset;
u_int Delay = 1500;
@@ -609,7 +609,7 @@ ASR_resetIOP(Asr_softc_t *sc)
KASSERT(*Reply_Ptr != 0, ("*Reply_Ptr == 0"));
return(*Reply_Ptr);
}
- KASSERT(Old != -1L, ("Old == -1"));
+ KASSERT(Old != 0xffffffff, ("Old == -1"));
return (0);
} /* ASR_resetIOP */
OpenPOWER on IntegriCloud