]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Literal strings should be treated as "const"
authorTim Kientzle <kientzle@gmail.com>
Thu, 26 Feb 2009 04:05:24 +0000 (23:05 -0500)
committerTim Kientzle <kientzle@gmail.com>
Thu, 26 Feb 2009 04:05:24 +0000 (23:05 -0500)
SVN-Revision: 712

libarchive/test/main.c

index 201b272936a7c31e2a8e89bc9c226fe0b00252d7..e574558abc4419814c951a7aacc6246f91abc19d 100644 (file)
@@ -903,7 +903,7 @@ extract_reference_file(const char *name)
 const char *
 external_gzip_program(int un)
 {
-       char *extprog;
+       const char *extprog;
 
        if (un) {
                extprog = "gunzip";