From c5ac78c9d90bbcf0887fd0ca9de59e4e0dbbc831 Mon Sep 17 00:00:00 2001 From: jhibbits Date: Fri, 27 Dec 2019 04:52:17 +0000 Subject: [PATCH] Fix the build from r356113. Types had changed from when the patch was first created, and a final build was not done pre-commit. --- sys/kern/imgact_elf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index 3d0977bb59d..ed20423dfc2 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -1353,7 +1353,7 @@ __CONCAT(exec_, __elfN(imgact))(struct image_params *imgp) #define OLD_AT_COUNT 27 /* Count of defined aux entry types. */ static int -__elfN(freebsd_fixup_old_auxargs)(register_t **stack_base, +__elfN(freebsd_fixup_old_auxargs)(uintptr_t *stack_base, struct image_params *imgp) { Elf_Auxargs *args = (Elf_Auxargs *)imgp->auxargs; @@ -1414,7 +1414,7 @@ __elfN(freebsd_fixup_old_auxargs)(register_t **stack_base, base--; if (suword(base, imgp->args->argc) == -1) return (EFAULT); - *stack_base = (register_t *)base; + *stack_base = (uintptr_t)base; return (0); } #endif /* __powerpc__ */ -- 2.45.0