Put the casts on the right hand side of =.

This commit is contained in:
Poul-Henning Kamp 2002-09-28 14:17:24 +00:00
parent 7b83124255
commit 1cff889a46
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104091

View file

@ -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);