Add one more type cast, missed in r203043.

This commit is contained in:
Alexander Motin 2010-01-27 06:28:16 +00:00
parent ab13f9f29e
commit 6d21c943a3

View File

@ -628,7 +628,7 @@ ata_promise_mio_status(device_t dev)
}
/* read and acknowledge interrupt */
vector = (uint32_t)ctlr->chipset_data;
vector = (uint32_t)(uintptr_t)ctlr->chipset_data;
/* read and clear interface status */
status = ATA_INL(ctlr->r_res2, stat_reg);