X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fctmatch.c;h=7e807760618ff3548afcd991d5d27926c5fee066;hb=1a3cd3005f2a5cda8dbdaaf8f153ae5703845876;hp=597990703f09bafbd065695c24f37af97ff6e5d4;hpb=cad27e97e6370f96903d42aaf345c099af0a03bd;p=libucw.git diff --git a/lib/ctmatch.c b/lib/ctmatch.c index 59799070..7e807760 100644 --- a/lib/ctmatch.c +++ b/lib/ctmatch.c @@ -11,7 +11,7 @@ #include "lib/chartype.h" int -match_ct_patt(byte *p, byte *t) +match_ct_patt(const char *p, const char *t) { if (*p == '*' && !p[1]) /* "*" matches everything */ return 1;