X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=ccl%2Fccltoken.c;h=64a82793120ef972197f987403b7044985ba5448;hb=a00dfa73d5d3796f8048f2134fec2685b62e2658;hp=68f31afb2a39f5a1e2c79d1453fb646d45e088a5;hpb=3888e88cde70f36851544ab7acc04e0943470ec6;p=yaz-moved-to-github.git diff --git a/ccl/ccltoken.c b/ccl/ccltoken.c index 68f31af..64a8279 100644 --- a/ccl/ccltoken.c +++ b/ccl/ccltoken.c @@ -45,7 +45,14 @@ * Europagate, 1995 * * $Log: ccltoken.c,v $ - * Revision 1.5 1996-10-11 15:00:26 adam + * 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 * CCL parser from Europagate Email gateway 1.0. * * Revision 1.10 1995/07/11 12:28:31 adam @@ -111,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))