From: Wayne Davison Date: Fri, 28 Jan 2005 21:02:15 +0000 (+0000) Subject: Case uchar pointer to a char pointer when calling strlen(). X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/0eeb1cf83ae21e57cd4fc90fb21febdfcfab328a Case uchar pointer to a char pointer when calling strlen(). --- diff --git a/exclude.c b/exclude.c index 1dfa0f29..88f2cbbb 100644 --- a/exclude.c +++ b/exclude.c @@ -709,7 +709,7 @@ static const char *get_filter_tok(const char *p, int xflags, cp++; len = cp - s; } else - len = strlen(s); + len = strlen((char*)s); if (mflags & MATCHFLG_CLEAR_LIST) { if (!(xflags & (XFLG_DEF_INCLUDE | XFLG_DEF_EXCLUDE)) && len) {