ctf: Avoid passing a caddr_t to roundup2()

For some reason I can't reproduce this locally, but Jenkins complains.

Approved by:	re (gjb)
Reported by:	Jenkins
Fixes:		bdf290cd3e ("ctf: Add v3 support to CTF tools, ctf{convert,dump,merge}")

(cherry picked from commit 3fe1f21fb3)
(cherry picked from commit fb89cf93a5)
This commit is contained in:
Mark Johnston 2022-03-07 11:18:40 -05:00
parent e3d976742c
commit 6955dbde7a
1 changed files with 1 additions and 1 deletions

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: