mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-24 15:02:44 +00:00
70c06e38be
On systems using Python 3.7, when compiling libselinux Python wrappers (with "make install-pywrap"), the following warning is reported by gcc: audit2why.c: In function ‘analyze’: audit2why.c:364:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] permstr = _PyUnicode_AsString( strObj ); ^ Make permstr "const char *" in order to suppress this warning. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org> |
||
---|---|---|
.. | ||
include | ||
man | ||
src | ||
utils | ||
LICENSE | ||
Makefile | ||
VERSION |