aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/asa
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2026-01-21 16:10:53 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2026-01-21 16:10:53 +0000
commit5eb1d4eec67685a933cedd5a20fbec86febcd3a9 (patch)
treec5ba28221df35fa93cec552b3d083dadec01e1e5 /usr.bin/asa
parent37de3763b8d589c6916a1207bb46bbaefb75b4c3 (diff)
rpctls_impl.c: Use a direct cast to uintptr_t instead of __DECONSTHEADmain
This fixes the build on CHERI architectures where the compiler warns about a direct cast between uint64_t and const void * inside of __DECONST. However, GCC would also complain about this on 32-bit kernels due to uint64_t not being the same size as a pointer. Also, a direct cast to uintptr_t to right-size the cookie value is more direct than using __DECONST given that there is no "const" pointer involved in the expression. Reviewed by: brooks, glebius Obtained from: CheriBSD Sponsored by: AFRL, DARPA Differential Revision: https://reviews.freebsd.org/D54797
Diffstat (limited to 'usr.bin/asa')
0 files changed, 0 insertions, 0 deletions