mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-18 04:04:34 +00:00
9c770fe87e
generate_requires() may use a non-freable strings, BASE_NAME, as key in a hashtable. The compiler complains about this small abuse of hashtab_insert() interface (because its argument key is char* without "const"). Nevertheless this is all right because the hashtab keys are never freed directly (this behavior is documented in a comment in free_requires()). Therefore, hide the compiler warning by casting BASE_NAME to char*. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> |
||
---|---|---|
.. | ||
semodule_deps | ||
semodule_expand | ||
semodule_link | ||
semodule_package | ||
.gitignore | ||
COPYING | ||
Makefile | ||
VERSION |