From a00dfa73d5d3796f8048f2134fec2685b62e2658 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 1 Sep 1997 08:48:11 +0000 Subject: [PATCH] New windows NT/95 port using MSV5.0. Only a few changes made to avoid warnings. --- ccl/cclfind.c | 8 ++++++-- ccl/cclqual.c | 8 ++++++-- ccl/ccltoken.c | 8 ++++++-- 3 files changed, 18 insertions(+), 6 deletions(-) diff --git a/ccl/cclfind.c b/ccl/cclfind.c index cd40122..20b9365 100644 --- a/ccl/cclfind.c +++ b/ccl/cclfind.c @@ -45,7 +45,11 @@ * Europagate, 1995 * * $Log: cclfind.c,v $ - * Revision 1.7 1997-05-14 06:53:26 adam + * Revision 1.8 1997-09-01 08:48:11 adam + * New windows NT/95 port using MSV5.0. Only a few changes made + * to avoid warnings. + * + * Revision 1.7 1997/05/14 06:53:26 adam * C++ support. * * Revision 1.6 1997/04/30 08:52:06 quinn @@ -260,7 +264,7 @@ static struct ccl_rpn_node *search_term (struct ccl_rpn_attr **qa) struct ccl_rpn_node *p; struct ccl_token *lookahead = look_token; int len = 0; - int no, i; + size_t no, i; int left_trunc = 0; int right_trunc = 0; int mid_trunc = 0; diff --git a/ccl/cclqual.c b/ccl/cclqual.c index 8aa1f28..57a82a8 100644 --- a/ccl/cclqual.c +++ b/ccl/cclqual.c @@ -45,7 +45,11 @@ * Europagate, 1995 * * $Log: cclqual.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:25 adam @@ -189,7 +193,7 @@ void ccl_qual_rm (CCL_bibset *b) * len: Length of name. * return: Attribute info. NULL if not found. */ -struct ccl_rpn_attr *ccl_qual_search (CCL_bibset b, const char *name, int len) +struct ccl_rpn_attr *ccl_qual_search (CCL_bibset b, const char *name, size_t len) { struct ccl_qualifier *q; 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)) -- 1.7.10.4