ctf: Avoid passing a caddr_t to roundup2()
For some reason I can't reproduce this locally, but Jenkins complains. Reported by: Jenkins Fixes: bdf290cd3e1a ("ctf: Add v3 support to CTF tools, ctf{convert,dump,merge}")
This commit is contained in:
parent
2117cdd4b4
commit
3fe1f21fb3
@ -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…
x
Reference in New Issue
Block a user