From cadd4fa0b497277d35bab83a8ef7b64394ea0600 Mon Sep 17 00:00:00 2001 From: Scott Long Date: Wed, 24 Jun 2009 16:11:29 +0000 Subject: [PATCH] fw_state ad cur_state are holding unsigned bitfields, so declare then as unsigned as well. Submitted by: rdivacky --- sys/dev/mfi/mfi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/mfi/mfi.c b/sys/dev/mfi/mfi.c index cfd8f1d21b4b..aaec669b5081 100644 --- a/sys/dev/mfi/mfi.c +++ b/sys/dev/mfi/mfi.c @@ -230,7 +230,7 @@ mfi_issue_cmd_ppc(struct mfi_softc *sc,uint32_t bus_add,uint32_t frame_cnt) static int mfi_transition_firmware(struct mfi_softc *sc) { - int32_t fw_state, cur_state; + uint32_t fw_state, cur_state; int max_wait, i; fw_state = sc->mfi_read_fw_status(sc)& MFI_FWSTATE_MASK;