mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 10:19:04 +00:00
ctf: Avoid passing a caddr_t to roundup2()
For some reason I can't reproduce this locally, but Jenkins complains. Reported by: Jenkins Fixes:bdf290cd3e
("ctf: Add v3 support to CTF tools, ctf{convert,dump,merge}") (cherry picked from commit3fe1f21fb3
)
This commit is contained in:
parent
d80faf878a
commit
fb89cf93a5
|
@ -1333,7 +1333,7 @@ resurrect_types(ctf_header_t *h, tdata_t *td, tdesc_t **tdarr, int tdsize,
|
|||
tdp->t_fndef->fn_args[i] = tdarr[argid];
|
||||
}
|
||||
|
||||
dptr = roundup2(dptr, 4);
|
||||
dptr = (caddr_t) roundup2((uintptr_t) dptr, 4);
|
||||
break;
|
||||
|
||||
case CTF_K_RESTRICT:
|
||||
|
|
Loading…
Reference in a new issue