commit | c33fd02db5012b5b3582778f80e68b703441a215 | [log] [tgz] |
---|---|---|
author | Nicolas Iooss <nicolas.iooss@m4x.org> | Sun Feb 05 16:58:19 2017 +0100 |
committer | James Carter <jwcart2@tycho.nsa.gov> | Mon Feb 06 11:06:04 2017 -0500 |
tree | 99e5a984872229f856d10ba6ac4834aaf3e271d2 | |
parent | 9c770fe87e34a2d55da2f043afc127e4be262e6c [diff] |
libsepol/tests: fix -Wwrite-strings warnings Since fd9e5ef7b78b ("libsepol: use constant keys in hashtab functions") it is possible to call hashtab_search() with a const char* key value. Doing so fixes compiler warnings about non-const char* string literals (-Wwrite-strings flag). Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>