summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-09-28 14:17:24 +0000
committerphk <phk@FreeBSD.org>2002-09-28 14:17:24 +0000
commite274a128a91299b7a46c0d540899fba943c1dc34 (patch)
tree4a82a7b9e2e732c1d5b7dbd5f698cc00dda40012
parentdeb7ab6192bd10faa32bfc9244d9548411f8dcdc (diff)
downloadFreeBSD-src-e274a128a91299b7a46c0d540899fba943c1dc34.zip
FreeBSD-src-e274a128a91299b7a46c0d540899fba943c1dc34.tar.gz
Put the casts on the right hand side of =.
-rw-r--r--sys/dev/md/md.c2
1 files changed, 1 insertions, 1 deletions
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);
OpenPOWER on IntegriCloud