From af7168303867a121e1ce9c6be30280a210716a73 Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Wed, 11 May 2016 09:01:43 +0200 Subject: [PATCH] Fix const char warning --- libarchive/archive_read_support_format_mtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libarchive/archive_read_support_format_mtree.c b/libarchive/archive_read_support_format_mtree.c index 81d965211..3efcc3783 100644 --- a/libarchive/archive_read_support_format_mtree.c +++ b/libarchive/archive_read_support_format_mtree.c @@ -1342,7 +1342,7 @@ parse_line(struct archive_read *a, struct archive_entry *entry, /* strsep() is not in C90, but strcspn() is. */ /* Taken from http://unixpapa.com/incnote/string.html */ static char * -la_strsep(char **sp, char *sep) +la_strsep(char **sp, const char *sep) { char *p, *s; if (sp == NULL || *sp == NULL || **sp == '\0') -- 2.47.2