X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fmatchstr.c;h=efbc7ef0c1e550274f51a64e869cf8ec1c878af0;hp=95c32e05ee57d49c565511221586d36313ae7ca2;hb=4c176312acdc3444c9afc820f76a393e64668e52;hpb=05c274ef315384faafcc5900c17468f0ea2474e6 diff --git a/src/matchstr.c b/src/matchstr.c index 95c32e0..efbc7ef 100644 --- a/src/matchstr.c +++ b/src/matchstr.c @@ -1,8 +1,8 @@ /* - * Copyright (c) 1995-2004, Index Data. + * Copyright (C) 1995-2005, Index Data ApS * 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.4 2005-01-15 19:47:14 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;