Case uchar pointer to a char pointer when calling strlen().
authorWayne Davison <wayned@samba.org>
Fri, 28 Jan 2005 21:02:15 +0000 (21:02 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 28 Jan 2005 21:02:15 +0000 (21:02 +0000)
exclude.c

index 1dfa0f2..88f2cbb 100644 (file)
--- 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) {