From e274a128a91299b7a46c0d540899fba943c1dc34 Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 28 Sep 2002 14:17:24 +0000 Subject: Put the casts on the right hand side of =. --- sys/dev/md/md.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index 6b5431c..ae1953d 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -1034,7 +1034,7 @@ mdctlioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct thread *td) break; case MD_PRELOAD: mdio->md_size = sc->nsect; - (u_char *)(uintptr_t)mdio->md_base = sc->pl_ptr; + mdio->md_base = (uint64_t)(intptr_t)sc->pl_ptr; break; case MD_SWAP: mdio->md_size = sc->nsect * (PAGE_SIZE / DEV_BSIZE); -- cgit v1.1