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}")
This commit is contained in:
Mark Johnston 2022-03-07 11:18:40 -05:00
parent 2117cdd4b4
commit 3fe1f21fb3

View file

@ -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: