* lib/malloca.c (freea) [__CHERI_PURE_CAPABILITY__]:
Add a cast as the code otherwise doesn’t conform to C.
+2024-11-11 Paul Eggert <eggert@cs.ucla.edu>
+
+ malloca: pacify CHERI clang
+ * lib/malloca.c (freea) [__CHERI_PURE_CAPABILITY__]:
+ Add a cast as the code otherwise doesn’t conform to C.
+
2024-11-11 Bruno Haible <bruno@clisp.org>
acl-permissions: Define the inline functions in this module.
char *cp = p;
small_t *sp = p;
# if defined __CHERI_PURE_CAPABILITY__
- void *mem = sp[-1];
+ void *mem = (void *) sp[-1];
# else
void *mem = cp - sp[-1];
# endif