b9041e1f27
Cast the integer type to (u)intptr_t before casting to "void *". In CHERI C/C++ we warn on bare casts from integers to pointers to catch attempts to create pointers our of thin air. We allow the warning to be supressed with a suitable cast through (u)intptr_t. Reviewed-by: Matthew Ahrens <mahrens@delphix.com> Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu> Signed-off-by: Brooks Davis <brooks.davis@sri.com> Closes #14131 |
||
---|---|---|
.. | ||
Makefile.am | ||
zstream.c | ||
zstream.h | ||
zstream_decompress.c | ||
zstream_dump.c | ||
zstream_redup.c | ||
zstream_token.c |