Date: Mon, 28 Aug 2023 00:28:22 GMT From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: 8925d38da3a7 - stable/13 - rtld_malloc.c: change return type of cp2op() to void Message-ID: <202308280028.37S0SMSf069702@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=8925d38da3a70733b1c40717560dc58caf39e0c0 commit 8925d38da3a70733b1c40717560dc58caf39e0c0 Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2023-07-30 01:58:01 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2023-08-28 00:27:48 +0000 rtld_malloc.c: change return type of cp2op() to void (cherry picked from commit 6bb7f05850efceb01a7050e3c0fd86f9539c0071) --- libexec/rtld-elf/rtld_malloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/rtld-elf/rtld_malloc.c b/libexec/rtld-elf/rtld_malloc.c index 3437f638d339..1246238b3941 100644 --- a/libexec/rtld-elf/rtld_malloc.c +++ b/libexec/rtld-elf/rtld_malloc.c @@ -106,10 +106,10 @@ static int pagesz; /* page size */ * increasing order. */ -static union overhead * +static void * cp2op(void *cp) { - return ((union overhead *)((caddr_t)cp - sizeof(union overhead))); + return (((caddr_t)cp - sizeof(union overhead))); } void *
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308280028.37S0SMSf069702>