diff options
author | peter <peter@FreeBSD.org> | 2001-01-19 09:02:40 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2001-01-19 09:02:40 +0000 |
commit | 3b688725f374fe1812878481c69abab7f412e278 (patch) | |
tree | 9e92249a01f8acb4f4b35dae0392c80cfa4fa13f | |
parent | 752968452d688264a3fd6b1b1551772a1c2f2871 (diff) | |
download | FreeBSD-src-3b688725f374fe1812878481c69abab7f412e278.zip FreeBSD-src-3b688725f374fe1812878481c69abab7f412e278.tar.gz |
Fix a maybe-not-so-harmless warning.
-rw-r--r-- | sys/dev/md/md.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index f22e269..b918e00 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -580,7 +580,7 @@ mdcreate_preload(struct md_ioctl *mdio) sc->type = MD_PRELOAD; sc->secsize = DEV_BSIZE; sc->nsect = mdio->md_size; - sc->pl_ptr = (u_char *)mdio->md_base; + sc->pl_ptr = (u_char *)(uintptr_t)mdio->md_base; sc->pl_len = (mdio->md_size << DEV_BSHIFT); mdinit(sc); return (0); |