From: Bruno Haible Date: Mon, 8 Jan 2024 22:02:04 +0000 (+0100) Subject: jit/cache tests: Fix for powerpc*, ia64, hppa* CPUs, part 2. X-Git-Tag: v1.0~536 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=0c3e4af8f059eac391d8f712ac2017b628982fea;p=gnulib.git jit/cache tests: Fix for powerpc*, ia64, hppa* CPUs, part 2. * tests/jit/test-cache.c (CODE): Fix mistake in last commit. --- diff --git a/tests/jit/test-cache.c b/tests/jit/test-cache.c index 184e157776..86fe4c7aec 100644 --- a/tests/jit/test-cache.c +++ b/tests/jit/test-cache.c @@ -89,7 +89,7 @@ struct func #ifdef FUNCPTR_POINTS_TO_CODE /* A function pointer points directly to the code. */ # define COPY_FUNCPTR(funcptr) funcptr -# define CODE(funcptr) ((void*)(funcptr)) +# define CODE(funcptr) (funcptr) #else /* A function pointer points to a 'struct func'. */ static struct func *xcopy_funcptr (struct func *orig_funcptr)