commit | 1f312a9247dbc7120c5973e99a64fecaada68742 | [log] [tgz] |
---|---|---|
author | James Carter <jwcart2@tycho.nsa.gov> | Mon Feb 06 11:06:42 2017 -0500 |
committer | James Carter <jwcart2@tycho.nsa.gov> | Mon Feb 06 11:06:42 2017 -0500 |
tree | cbb7096c0ba67b01166044375a743ca57eb8f984 | |
parent | 68a4203f8742b1d06fe7401d6ede14b14e14f3be [diff] |
policycoreutils/semodule: fix -Wwrite-strings warnings Nicolass Iooss reports that when building with "clang -Wwrite-strings", the compiler complains about initializing the char* array genhomedirconargv with literal strings. Make genhomedirconargv an array of pointers to const char and cast it as non-const when assigning it to argv. Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>