commit | 1dc95dd5588bee62a39a96fb8ba5e57ace94051a | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <nicolas.iooss@m4x.org> | Wed May 03 22:58:02 2017 +0200 |
committer | Stephen Smalley <sds@tycho.nsa.gov> | Fri May 05 13:09:36 2017 -0400 |
tree | 2087911867e01d8a88d2dd08355723710d51d412 | |
parent | 232ff757d41b1d3ed34959277159b945010d3ddc [diff] |
libsepol: silence false-positive -Wwrite-strings warning When compiling with -Wwrite-strings, the compiler complains about calling strs_add with a const char* value for a char* parameter (DEFAULT_OBJECT is defined to "object_r"). Silence this warning by casting the literal string to char*. Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>