summaryrefslogtreecommitdiff
path: root/Utilities/cmlibarchive/libarchive/archive_string_sprintf.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-07-20 11:36:18 -0400
committerBrad King <brad.king@kitware.com>2017-07-20 11:36:18 -0400
commit6df1bda1c57193b289866389a994ea79a2f5e1d8 (patch)
tree7bf31a5dc1702e7a0faebe654da69f5c5eaeca90 /Utilities/cmlibarchive/libarchive/archive_string_sprintf.c
parentb6674431af4790ba5deea9e5e6bd7b2620beb69e (diff)
parent11f3dcb04887fccf38a8eda19d498bf7a5060486 (diff)
downloadcmake-6df1bda1c57193b289866389a994ea79a2f5e1d8.tar.gz
Merge branch 'upstream-LibArchive' into update-libarchive
* upstream-LibArchive: LibArchive 2017-07-09 (98a69539)
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/archive_string_sprintf.c')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_string_sprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_string_sprintf.c b/Utilities/cmlibarchive/libarchive/archive_string_sprintf.c
index 964ea2bea1..969a5603a4 100644
--- a/Utilities/cmlibarchive/libarchive/archive_string_sprintf.c
+++ b/Utilities/cmlibarchive/libarchive/archive_string_sprintf.c
@@ -53,7 +53,7 @@ __FBSDID("$FreeBSD: head/lib/libarchive/archive_string_sprintf.c 189435 2009-03-
static void
append_uint(struct archive_string *as, uintmax_t d, unsigned base)
{
- static const char *digits = "0123456789abcdef";
+ static const char digits[] = "0123456789abcdef";
if (d >= base)
append_uint(as, d/base, base);
archive_strappend_char(as, digits[d % base]);