aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.bin/zstream/Makefile
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@FreeBSD.org>2021-06-08 17:30:59 +0000
committerJessica Clarke <jrtc27@FreeBSD.org>2021-06-08 17:30:59 +0000
commitde295884c4efd9a126dfdd8d98247de345d1f468 (patch)
treed8edd169f5075eb6593040099736a6abf5df6daf /cddl/usr.bin/zstream/Makefile
parent9021c46603bf29b9700f24b8dce8796b434d7c8f (diff)
downloadsrc-de295884c4efd9a126dfdd8d98247de345d1f468.tar.gz
src-de295884c4efd9a126dfdd8d98247de345d1f468.zip
tip: Cast via intptr_t not long when casting between pointer and int
Whilst all FreeBSD architectures have the same representation for intptr_t and long (even if the former is int on ILP32 architectures), this is more general and correct, and on CHERI they are not the same so warnings are generated by default for integer-to-pointer casts that aren't via (u)intptr_t. Reviewed by: imp, kib Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D30696
Diffstat (limited to 'cddl/usr.bin/zstream/Makefile')
0 files changed, 0 insertions, 0 deletions