mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 06:14:27 +00:00
Put the casts on the right hand side of =.
This commit is contained in:
parent
7b83124255
commit
1cff889a46
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104091
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue