X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fmatchstr.c;h=4db3360138eba5887c2d814e617393c0eda8c6ee;hp=95c32e05ee57d49c565511221586d36313ae7ca2;hb=905df6869e5ad8ab9f34590cce771fe50c444473;hpb=2af25caef50026e60e2ae91dbf175e86c31463df diff --git a/src/matchstr.c b/src/matchstr.c index 95c32e0..4db3360 100644 --- a/src/matchstr.c +++ b/src/matchstr.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2004, Index Data. * See the file LICENSE for details. * - * $Id: matchstr.c,v 1.2 2004-10-15 00:19:00 adam Exp $ + * $Id: matchstr.c,v 1.3 2004-12-30 00:14:00 adam Exp $ */ /** @@ -30,8 +30,8 @@ int yaz_matchstr(const char *s1, const char *s2) { while (*s1 && *s2) { - char c1 = *s1; - char c2 = *s2; + unsigned char c1 = *s1; + unsigned char c2 = *s2; if (c2 == '?') return 0;