read_ivar takes a uintptr_t * not a u_char *.

This commit is contained in:
Warner Losh
2009-03-12 06:36:44 +00:00
parent bb7cc1aa22
commit 125da88acd
+1 -1
View File
@@ -1437,7 +1437,7 @@ mmc_scan(struct mmc_softc *sc)
}
static int
mmc_read_ivar(device_t bus, device_t child, int which, u_char *result)
mmc_read_ivar(device_t bus, device_t child, int which, uintptr_t *result)
{
struct mmc_ivars *ivar = device_get_ivars(child);