X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=ccl%2Fccltoken.c;h=64a82793120ef972197f987403b7044985ba5448;hb=a00dfa73d5d3796f8048f2134fec2685b62e2658;hp=be98dbad76c043d06abd363059b1425ed5146371;hpb=85a2e7affad79fd8bd59b403ba7b5f7867d60523;p=yaz-moved-to-github.git diff --git a/ccl/ccltoken.c b/ccl/ccltoken.c index be98dba..64a8279 100644 --- a/ccl/ccltoken.c +++ b/ccl/ccltoken.c @@ -45,7 +45,11 @@ * Europagate, 1995 * * $Log: ccltoken.c,v $ - * Revision 1.6 1997-04-30 08:52:07 quinn + * Revision 1.7 1997-09-01 08:48:12 adam + * New windows NT/95 port using MSV5.0. Only a few changes made + * to avoid warnings. + * + * Revision 1.6 1997/04/30 08:52:07 quinn * Null * * Revision 1.5 1996/10/11 15:00:26 adam @@ -114,7 +118,7 @@ static int token_cmp (const char *kw, struct ccl_token *token) return 0; while ((cp2 = strchr (cp1, ' '))) { - if (token->len == cp2-cp1) + if (token->len == (size_t) (cp2-cp1)) if (ccl_case_sensitive) { if (!memcmp (cp1, token->name, token->len))