selinux/libselinux
Nicolas Iooss 70c06e38be
libselinux: add a const to suppress a build warning with Python 3.7
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>
2018-08-19 17:55:13 +02:00
..
include Fix minor typos 2018-06-30 20:28:25 +02:00
man Fix minor typos 2018-06-30 20:28:25 +02:00
src libselinux: add a const to suppress a build warning with Python 3.7 2018-08-19 17:55:13 +02:00
utils libselinux: avcstat: fix build warning 2018-05-08 08:11:58 -04:00
LICENSE
Makefile libselinux: Add support for pcre2 to pkgconfig definition 2017-10-13 15:24:23 -04:00
VERSION Update VERSIONs to 2.8 for release. 2018-05-24 14:21:09 -04:00